- run bash script
clone-repositories.sh
- this will clone all repositories in
./src
docker-compose -f compose-full.yml up
- open neo4j
localhost:7474
, userneo4j
, passwordtest
, add some data - call
localhost:8000/redis-import
and wait - call
http://localhost:8000/train-embeddings/DATABASE_NAME
, the database name is in the settings for available datasets in the backend container (utils/config.py, AVAILABLE_DATA_SETS constant)
- repositories are cloned in subdirectory
src
within the repository and thesrc
directory is gitignored, that's nice for quick testing but also confusing, clone to external path? - neo4j data is also stored within the repository (
neo4j_data
) and the direcotry is gitignored, maybe store somewhere else? - Python backend has hardcoded URLs, get them from settings
- move nginx out of interface into own container, easy to run from Docker compose
- Python backend: get config from environment/file, mount config file on container run
- create Docker hub repository and make images available
- use with external neo4j
- document how to load initial data set to neo4j
- more error reporting: e.g. empty neo4j just crashes