Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #813

Merged
merged 12 commits into from
Oct 16, 2023
Merged

Dev #813

merged 12 commits into from
Oct 16, 2023

Conversation

k1o0
Copy link
Contributor

@k1o0 k1o0 commented Oct 16, 2023

Release notes

fixtures

misc

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.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) Restart the Apache server

sudo service apache2 restart

@k1o0 k1o0 merged commit c704a9b into master Oct 16, 2023
1 check passed
@@ -14,7 +14,7 @@
"fields": {
"name": "Water restriction",
"json": null,
"description": "- Variation in the composition, constituents, quantity and/or availability of the diet and/or drinking water which may cause pain, suffering, distress or lasting harm - withholding of water"
"description": "- Variation in the compositigit con, constituents, quantity and/or availability of the diet and/or drinking water which may cause pain, suffering, distress or lasting harm - withholding of water"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you've added a typo here ! 🐞

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although in the words of Shaggy, 'it wasn't me'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants