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 #848

Merged
merged 12 commits into from
Apr 15, 2024
Merged

Dev #848

merged 12 commits into from
Apr 15, 2024

Conversation

k1o0
Copy link
Collaborator

@k1o0 k1o0 commented Apr 15, 2024

Release notes

rest

  • remove to internal value save method added in previous release to avoid erroneous update of model when patching
  • include reference weight pct in water restriction records
  • Min weight plot threshold a constant in lab settings allows individual labs to modify weight history plot thesholds

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

@k1o0 k1o0 merged commit 87e61a8 into master Apr 15, 2024
2 checks passed
k1o0 added a commit that referenced this pull request Apr 15, 2024
* Permit later versions of ONE in requirements
* remove to internal method in serialiser
* Include reference_weight_pct and zscore_weight_pct in water restriction serializers
* Min weight plot threshold a constant in lab settings
* Don't commit all changed files in Gihub actions!
---------
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Mayo Faulkner <[email protected]>
Co-authored-by: k1o0 <[email protected]>
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.

2 participants