Personalized genomics platform that provides users with information about their family history, genetic conditions and health risks based on their DNA sequences.
Check for dependencies, generate world, copy .env files and start docker compose:
- ./start.sh
Check if the docker container is up and run the test suite
- ./checkhealth.sh
Run the cli interface
- python3 cli/main.py
Stop the docker container and clean the generated world files
- ./stop_and_clean.sh
To run this application, you must:
- Clone this repository
- Create
.envfile from/src/.env.samplein the same directory - Create all
.envfiles from/src/dbs/{postgres, neo4j, redis}/.env.samplein the same directories
Then you can start it in two modes — development or production.
To run the application in development mode with Docker Compose or NPM, execute:
$ docker compose --profile dev up$ npm install && npm run dev
This mode uses nodemon, which has hot-reloading mecanism.
To run the application in production mode with Docker Compose or NPM, execute:
$ docker compose --profile prod up$ npm ci --omit=dev && npm start
NOTE: Both development and production modes, with NPM, require you pass the environment variables of /src/env to NodeJS. Docker Compose does that automatically.
To run tests of this application, you need to be in development mode. You can use either NPM or Docker:
$ docker compose exec app-dev npm test$ npm [run] test