Skip to content

Commit 2fb1de0

Browse files
committed
- updated order of docker commands to execute collectstatic before migrate
1 parent 5ccc6f4 commit 2fb1de0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

start_NEMO_in_Docker.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# Exit if any of following commands fails
44
set -e
55

6-
# Run migrations to create or update the database
7-
django-admin migrate
8-
96
# Collect static files
107
django-admin collectstatic --no-input --clear
118

9+
# Run migrations to create or update the database
10+
django-admin migrate
11+
1212
# Run NEMO
1313
exec gunicorn --config=/etc/gunicorn_configuration.py NEMO.wsgi:application

0 commit comments

Comments
 (0)