-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathquick_django_run.sh
More file actions
executable file
·32 lines (27 loc) · 1 KB
/
quick_django_run.sh
File metadata and controls
executable file
·32 lines (27 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/bash
# for quick iterative testing in local environment without Docker.
# create conda env (do once):
#
# conda env create -f environment.yml
# conda activate hyddb_env1
# pip install parso==0.7.0
# conda deactivate
# make sure conda env is activated:
#
# conda activate hyddb_env1
# python manage.py migrate
# # python manage.py loaddata hydrogenaseclass hydrogenasesequence geneticorganisation
# python manage.py makemigrations
# python manage.py migrate browser
# python manage.py loaddata hydrogenaseclass hydrogenasesequence geneticorganisation
# python manage.py train
# python manage.py trainupstream data
# python manage.py runserver 0.0.0.0:8000
# python manage.py loaddata hydrogenaseclass hydrogenasesequence geneticorganisation
python manage.py makemigrations
python manage.py migrate
python manage.py migrate browser
python manage.py loaddata hydrogenaseclass hydrogenasesequence geneticorganisation
python manage.py train
python manage.py trainupstream data
python manage.py runserver 0.0.0.0:8000