1
1

copy whole project from another repo

This commit is contained in:
2020-02-18 16:01:28 +01:00
commit aadff671bd
30 changed files with 1290 additions and 0 deletions

14
entrypoint.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
if [ "$DJANGO_PRODUCTION_MODE" == "true" ]; then
echo "starting production server ..."
./wait-for-it.sh --host=${DB_HOST} --port=${DB_PORT} --strict --timeout=20 -- \
uwsgi --ini uwsgi.ini
else
echo "starting development server ..."
./wait-for-it.sh --host=${DB_HOST} --port=${DB_PORT} --strict --timeout=20 -- \
python manage.py runserver 0.0.0.0:8000
fi