finished stats page

This commit is contained in:
JakeBreath
2026-08-05 14:17:41 -05:00
parent 6325c67790
commit 2d73638a06
5 changed files with 225 additions and 6 deletions
+5
View File
@@ -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