We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea26bc7 commit ec5b907Copy full SHA for ec5b907
python-django/app/scripts/migrate.sh
@@ -1,8 +1,14 @@
1
#!/bin/sh
2
3
+# ADD YOUR COMMANDS BELOW
4
+
5
# First, makemigrations and migrate
6
python3 manage.py makemigrations
7
python3 manage.py migrate
8
-# 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
14
gunicorn --config /conf/gunicorn_config.py helloworld.wsgi
0 commit comments