Skip to content

Commit

Permalink
docker: Adjust migration process
Browse files Browse the repository at this point in the history
  • Loading branch information
pevma committed Apr 9, 2024
1 parent f71b403 commit 6bd9f72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/scirius/bin/start-scirius.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -ex

# Copyright(C) 2016 Stamus Networks
# Copyright(C) 2020 Gabor Seljan
Expand All @@ -23,6 +24,7 @@
cd /opt/scirius/

migrate_db() {
python manage.py makemigrations --noinput
python manage.py migrate --noinput
python manage.py collectstatic --noinput
}
Expand Down

0 comments on commit 6bd9f72

Please sign in to comment.