This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Repository navigation
Updating The App
Ben C edited this page Mar 21, 2022
·
5 revisions
To update the website, you'll first want to stop the site in IIS.
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 pullThis will pull changes off of GitHub.
Before running any statements below, make sure you've activated the virtual environment by running
pipenv shellThis will ensure that you have access to the correct python environment with the python command.
Next, you'll need to apply any changes in the database by running
python manage.py migrateThen, update any static files
python manage.py collectstatic --no-input(say yes to any warnings about overriding old files.)
Optionally, you can run tests to ensure everything works correctly
python run_tests.pyFinally, start your IIS site again

Made By Ben C
Report An Issue