Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release notes
rest
Release steps below:
Pull the changes from github
1) Activate environment, cd to the alyx folder and install requirements
git stash
git pull
git stash pop
2) Activate environment - install requirements (if new packages)
pip install -r requirements_frozen.txt
3) Update the database if any scheme changes - we expect no migrations
cd alyx
./manage.py makemigrations
./manage.py migrate
4) If new fixtures load in the database:
../scripts/load-init-fixtures.sh
5) if new tables change the postgres permissions
./manage.py set_db_permissions
./manage.py set_user_permissions
6) If updates to django version
./manage.py collectstatic
7) Restart the Apache server
sudo service apache2 restart