|
|
@ -2,6 +2,8 @@ |
|
|
RUN_PORT="8000" |
|
|
RUN_PORT="8000" |
|
|
|
|
|
|
|
|
/opt/venv/bin/python manage.py migrate --no-input |
|
|
/opt/venv/bin/python manage.py migrate --no-input |
|
|
|
|
|
/opt/venv/bin/python manage.py collectstatic |
|
|
|
|
|
|
|
|
/opt/venv/bin/gunicorn cfehome.wsgi:application --bind "0.0.0.0:${RUN_PORT}" --daemon |
|
|
/opt/venv/bin/gunicorn cfehome.wsgi:application --bind "0.0.0.0:${RUN_PORT}" --daemon |
|
|
|
|
|
|
|
|
nginx -g 'daemon off;' |
|
|
nginx -g 'daemon off;' |