Skip to content

Commit

Permalink
Sync permissions and valuesets along with migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Jan 7, 2025
1 parent 6414e0d commit cc4541b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/celery-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ set -euo pipefail

python manage.py migrate --noinput
python manage.py compilemessages -v 0

python manage.py sync_permissions_roles
python manage.py sync_valueset

watchmedo \
auto-restart --directory=./ --pattern=*.py --recursive -- \
Expand Down
2 changes: 2 additions & 0 deletions scripts/celery_beat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ fi

python manage.py migrate --noinput
python manage.py compilemessages -v 0
python manage.py sync_permissions_roles
python manage.py sync_valueset

touch /tmp/healthy

Expand Down

0 comments on commit cc4541b

Please sign in to comment.