-
Notifications
You must be signed in to change notification settings - Fork 5
Upgrade Instructions
Henry Mehta edited this page Oct 16, 2024
·
4 revisions
Issue 147: Dependency Questions: The primary development here was to provide the functionality that depending on the response on page X, questions on page Y (Y must be greater than X) will be shown or not.
install the code then run
python ./manage.py migrate --noinput
python ./manage.py collectstatic --noinput
python ./manage.py 01_populate_instrument_family
python ./manage.py 02_populate_instrument
python ./manage.py 03_populate_scoring
python ./manage.py 04a_delete_benchmark
python ./manage.py 04_populate_benchmark
python ./manage.py 05_populate_choices
python ./manage.py 06_populate_items
The deployment of the latest version requires:
- pulling the latest merge
- run pip install -r requirements.txt
- run the following:
python ./manage.py migrate --noinput;
python ./manage.py collectstatic --noinput;
python ./manage.py 01_populate_instrument_family;
python ./manage.py 02_populate_instrument;
python ./manage.py populate_scoring;
python ./manage.py populate_benchmark;
python ./manage.py populate_choices;
python ./manage.py populate_items;
4 add the following job to run hourly via crontab python ./manage.py crontab_scoring