finished stats page
This commit is contained in:
@@ -36,8 +36,13 @@ echo "Rebuilding vanilla entity-texture index..."
|
||||
# Collect static files (served by gunicorn via whitenoise)
|
||||
"$PYTHON_BIN" manage.py collectstatic --noinput
|
||||
|
||||
# Directory for gunicorn's access log (parsed by the stats page).
|
||||
mkdir -p "$SCRIPT_DIR/logs"
|
||||
|
||||
echo "Starting Gunicorn on 0.0.0.0:8000..."
|
||||
exec "$GUNICORN_BIN" \
|
||||
--workers 3 \
|
||||
--bind 0.0.0.0:8000 \
|
||||
--access-logfile "$SCRIPT_DIR/logs/gunicorn-access.log" \
|
||||
--access-logformat '%(h)s %(t)s "%(r)s" %(s)s %(b)s %(L)s' \
|
||||
common.wsgi:application
|
||||
|
||||
Reference in New Issue
Block a user