summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/celery.sh5
-rw-r--r--scripts/entrypoint.sh9
2 files changed, 14 insertions, 0 deletions
diff --git a/scripts/celery.sh b/scripts/celery.sh
new file mode 100644
index 0000000..aea4be8
--- /dev/null
+++ b/scripts/celery.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3set -e
4
5celery -A restaurant_orders.celery worker --loglevel=info
diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh
new file mode 100644
index 0000000..b368fd4
--- /dev/null
+++ b/scripts/entrypoint.sh
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3set -e
4
5python manage.py collectstatic --noinput
6python manage.py makemigrations --noinput
7python manage.py migrate --noinput
8
9daphne -b 0.0.0.0 -p 8000 restaurant_orders.asgi:application