Stand up Print Forge as a 3D-printed toy shop with color variants and printer photography.

Replaces the client_site template branding, adds shop/shipping, and points beta CI at master for easy deploy.

Closes #1
This commit is contained in:
2026-09-06 08:28:04 -05:00
parent 8a97e3fbe2
commit b2029b6c0f
336 changed files with 9241 additions and 2537 deletions
+7 -2
View File
@@ -1,6 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
cd /app
if [[ "${DJANGO_ENV:-}" == "dev" || "${DJANGO_USE_RUNSERVER:-}" == "true" ]]; then
echo "Syncing Python deps..."
uv sync --frozen
fi
cd /app/site
wait_for_database() {
@@ -14,7 +19,7 @@ wait_for_database() {
import os
import sys
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "client_site.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "print_forge.settings")
import django
from django.db import connections
@@ -51,6 +56,6 @@ fi
uv run python manage.py collectstatic --noinput
exec uv run gunicorn client_site.wsgi:application \
exec uv run gunicorn print_forge.wsgi:application \
--bind "${GUNICORN_BIND:-0.0.0.0:8000}" \
--workers "${GUNICORN_WORKERS:-2}"