A portal to commonly used CFIA-OLC genomics tools.
WIP
WIP
WIP
- Registering model changes
docker-compose -f dev.yml run django python manage.py makemigrations
docker-compose -f dev.yml run django python manage.py migrate
- Running background tasks
docker-compose -f dev.yml run django python manage.py process_tasks
- clone repo, make sure you have docker images loaded from NAS (TODO: put on docker hub so can be pulled form anywhere)
- update
ALLOWED_HOSTS
inprod.yml
to whatever your domain/IP address is. - Make a directory in project root called
postgres-data
docker-compose build
docker-compose up
- Things won't work quite yet. Attach into the web container:
docker exec -it olcwebportalv2_web_1 /bin/bash
and then make and run migrationspython3 manage.py makemigrations
and thenpython3 manage.py migrate
. Finally, get background tasks running -python3 manage.py process_tasks
Follow the instructions in the deployment section. Then, attach into the web container:
docker exec -it olcwebportalv2_web_1 /bin/bash
.
From inside the container type:
python3 manage.py test new_multisample