add whole new app for balance prediction, replace uwsgi, update everything
This commit is contained in:
@@ -3,12 +3,10 @@ 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
|
||||
gunicorn --bind=0.0.0.0:8000 --workers=2 financeproject.wsgi
|
||||
|
||||
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
|
||||
python manage.py runserver 0.0.0.0:8000
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user