Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Updating The App

Ben C edited this page Nov 4, 2021 · 5 revisions

To update the website, you'll first want to stop the site in IIS.
{!IIS-Stop.png!}
Next, you'll want to pull from the GitHub repository where updates have taken place.
Navigate to the CodeReview directory and open a new powershell window.

git init
git pull

This will pull changes off of GitHub.
Next, you'll need to apply any changes in the database by running

python manage.py migrate

Then, update any static files

python manage.py collectstatic

(say yes to any warnings about overriding old files.)

Optionally, you can run tests to ensure everything works correctly

python run_tests.py

Finally, start your IIS site again
{!IIS-Start.png!}

Clone this wiki locally