-
Notifications
You must be signed in to change notification settings - Fork 2
Update instructions
Ioannis Michaloliakos edited this page Sep 8, 2023
·
7 revisions
To update the app, navigate to your instructor_pilot
directory do the following:
-
First, download the latest version of the app with Git:
git pull
-
Update the app dependencies in the conda environment:
conda env update --file environment.yml --name <name-of-your-conda-env> --prune
This might take a few minutes and the dependencies change rarely, so in most cases you can skip this step.
-
Update the database structure and existing data:
python manage.py makemigrations python manage.py migrate
-
Important: Restart the server, open the app in your browser and empty the cache. Different browsers and operating systems have different keyboard shortcuts for that. For example, in Chrome on Windows or Linux, you can press
Ctrl + Shift + R
to do this (Cmd + Shift + R
on Mac), while other browsers may require you to pressCtrl + F5
.