We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d4fd82 commit dbb89d2Copy full SHA for dbb89d2
docker/django-base/django-run
@@ -3,5 +3,10 @@
3
# Django Migrate
4
/usr/local/bin/python3 /app/manage.py migrate --noinput
5
6
+# If RUN_POPULATE is set, run populate
7
+if [[ ! -z "${RUN_POPULATE}" ]]; then
8
+ /usr/local/bin/python3 /app/manage.py populate
9
+fi
10
+
11
# Run UWSGI
12
exec /usr/local/bin/uwsgi --ini /app/setup.cfg
0 commit comments