generated from westfarn/web_django_template
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:
@@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd /app
|
||||
if [[ "${DJANGO_ENV:-}" == "dev" ]]; 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
|
||||
|
||||
Reference in New Issue
Block a user