pip install Gene_Drive --index-url=https://packages.idmod.org/api/pypi/pypi-production/simple- Python 3.9 x64
When setting up your environment for the first time, you can use the following instructions
- Clone the business logic/UI repository:
> git clone https://github.com/InstituteforDiseaseModeling/dash-gene-drive - Clone the data repository:
Then clone the repo.
> git clone https://github.com/InstituteforDiseaseModeling/dash-gene-drive-data - Create a virtualenv. On Windows, please use venv to create the environment
python -m venv dash-gene-driveOn Unix(Mac/Linux) you can use venv or virtualenv - Activate the virtualenv
- Set environment variables
DATA_DIR = path/to/dash-gene-drive-dataENVIRONMENT = development - If you are on windows, run
pip install py-make --upgrade --force-reinstall - Then run
python ./.dev_scripts/bootstrap.py. This will install all the tools. - Run the app
python main.py
There is a Makefile file available for most common development tasks. Here is a list of commands
clean - Clean up temproary files
setup-dev - Set up packages in dev mode On Windows, you can use pymake instead of make
docker-compose -f docker-compose.yml build
docker-compose -f docker-compose.yml up
docker-compose -f docker-compose.staging.yml build
docker-compose -f docker-compose.staging.yml up