Skip to content

Upgrade Instructions

Henry Mehta edited this page Oct 16, 2024 · 4 revisions

31 July 2023

Main Updates

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.

Upgrade process

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

31 May 2023

The deployment of the latest version requires:

  1. pulling the latest merge
  2. run pip install -r requirements.txt
  3. 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