From c21f4b3dacd597a15a5ec39d525df1dfe1b70376 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Mon, 17 Jul 2023 01:47:57 +0200 Subject: Add project. --- scripts/entrypoint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/entrypoint.sh (limited to 'scripts/entrypoint.sh') 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 @@ +#!/bin/sh + +set -e + +python manage.py collectstatic --noinput +python manage.py makemigrations --noinput +python manage.py migrate --noinput + +daphne -b 0.0.0.0 -p 8000 restaurant_orders.asgi:application -- cgit v1.2.3