Skip to content

Commit ec5b907

Browse files
author
Karthikeya
committed
Updates migrate.sh
1 parent ea26bc7 commit ec5b907

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

python-django/app/scripts/migrate.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#!/bin/sh
22

3+
# ADD YOUR COMMANDS BELOW
4+
35
# First, makemigrations and migrate
46
python3 manage.py makemigrations
57
python3 manage.py migrate
68

7-
# Now run the gunicorn server
9+
# Your commands
10+
# Eg: python3 manage.py collectstatic --noinput etc
11+
12+
# DO NOT ADD ANY COMMANDS BELOW THIS LINE
13+
# Now run the gunicorn server
814
gunicorn --config /conf/gunicorn_config.py helloworld.wsgi

0 commit comments

Comments
 (0)