generated from westfarn/web_django_template
Ship College Craft public site and point CI deploys at college_craft.
Replaces template branding with College Craft pages, assets, and copy, and matches Gitea deploy workflows to the server-infra catalog name and master branch so beta deploys actually run. Closes #1
This commit is contained in:
+25
-21
@@ -1,7 +1,7 @@
|
||||
# Secret env files for server-infra deploy. Never commit.
|
||||
# Copy on the control node:
|
||||
# ~/Documents/secrets/<slug>_site/<slug>_site_prod.env
|
||||
# ~/Documents/secrets/<slug>_site/<slug>_site_beta.env
|
||||
# ~/Documents/secrets/college_craft/college_craft_prod.env
|
||||
# ~/Documents/secrets/college_craft/college_craft_beta.env
|
||||
#
|
||||
# Docker Compose: if a secret contains $ (e.g. DATABASE_URL password), escape
|
||||
# each $ as $$ or compose will treat $word as a variable.
|
||||
@@ -9,34 +9,36 @@
|
||||
DJANGO_ENV=prod
|
||||
DJANGO_DEBUG=false
|
||||
DJANGO_SECRET_KEY=replace-with-a-long-random-secret
|
||||
DJANGO_ALLOWED_HOSTS=example.com,www.example.com
|
||||
DJANGO_ALLOWED_HOSTS=collegecraft.com,www.collegecraft.com
|
||||
|
||||
SITE_UNDER_CONSTRUCTION=true
|
||||
|
||||
SITE_NAME=Your Company
|
||||
SITE_TAGLINE=A tagline for the public site
|
||||
PUBLIC_SITE_URL=https://example.com
|
||||
DEFAULT_FROM_EMAIL=noreply@example.com
|
||||
CONTACT_PHONE=
|
||||
CONTACT_EMAIL=
|
||||
CONTACT_ADDRESS=
|
||||
CONTACT_SERVICE_AREA=
|
||||
SITE_NAME=College Craft Painters
|
||||
SITE_TAGLINE=Outstanding interior & exterior painting in the Chicago area since 1960
|
||||
PUBLIC_SITE_URL=https://www.collegecraft.com
|
||||
DEFAULT_FROM_EMAIL=noreply@collegecraft.com
|
||||
CONTACT_PHONE=(630) 665-8200
|
||||
CONTACT_EMAIL=CollegeCraft@yahoo.com
|
||||
CONTACT_ADDRESS=211 East Illinois-Suite 1A, Wheaton, IL 60187
|
||||
CONTACT_SERVICE_AREA=Chicagoland western suburbs — Wheaton, Glen Ellyn, Geneva, St. Charles, Batavia, Naperville, Downers Grove, Lisle, Elmhurst, Lombard, Bartlett, Hinsdale, Western Springs, Oak Brook, Clarendon Hills, Aurora, Elburn, and Elgin
|
||||
CREDIT_NAME=AI ML Operations, LLC
|
||||
CREDIT_URL=https://aimloperations.com
|
||||
|
||||
# Optional catalog features — false unless purchased.
|
||||
# Blog is part of the public site we shipped. Flip others when purchased.
|
||||
# Turning a flag on later: set true, redeploy, migrate. Do not auto-drop tables.
|
||||
FEATURE_EMAIL_SMS=false
|
||||
FEATURE_DIRECT_MAIL=false
|
||||
FEATURE_BLOG=false
|
||||
FEATURE_BLOG=true
|
||||
FEATURE_PAYMENTS=false
|
||||
FEATURE_SOCIAL=false
|
||||
FEATURE_SOCIAL_AI=false
|
||||
|
||||
# Shared external Postgres (10.0.0.230)
|
||||
DATABASE_URL=postgres://westfarn:replace-db-password@10.0.0.230:5432/client_site
|
||||
DATABASE_URL=postgres://westfarn:replace-db-password@10.0.0.230:5432/college_craft
|
||||
|
||||
WEB_PORT=8004
|
||||
# Next free Django ports after url_shortening_service (8005/8015)
|
||||
WEB_PORT=8006
|
||||
|
||||
RECAPTCHA_PUBLIC_KEY=replace-me
|
||||
RECAPTCHA_PRIVATE_KEY=replace-me
|
||||
@@ -78,8 +80,8 @@ OLLAMA_TIMEOUT_SECONDS=120
|
||||
# Token must match SHORTENER_API_TOKENS on url_shortening_service (name:secret).
|
||||
# Generate: python -c "import secrets; print(secrets.token_urlsafe(32))"
|
||||
SHORTENER_BASE_URL=https://shortener.aimloperations.com
|
||||
SHORTENER_API_TOKEN=acme:replace-me
|
||||
# UTM_SOURCE=acme # optional; default is a slug of SITE_NAME
|
||||
SHORTENER_API_TOKEN=college_craft:replace-me
|
||||
# UTM_SOURCE=college-craft # optional; default is a slug of SITE_NAME
|
||||
|
||||
NOMINATIM_BASE_URL=http://10.0.0.128:8089
|
||||
NOMINATIM_TIMEOUT_SECONDS=8
|
||||
@@ -92,11 +94,13 @@ TIANJI_WEBSITE_ID=
|
||||
GUNICORN_WORKERS=2
|
||||
GUNICORN_BIND=0.0.0.0:8000
|
||||
|
||||
# BETA overrides — <slug>-preview.aimloperations.com
|
||||
# BETA overrides — college-craft-preview.aimloperations.com
|
||||
# DJANGO_ENV=beta
|
||||
# SITE_UNDER_CONSTRUCTION=false
|
||||
# PUBLIC_SITE_URL=https://example-preview.aimloperations.com
|
||||
# DATABASE_URL=postgres://westfarn:replace-db-password@10.0.0.230:5432/client_site_beta
|
||||
# WEB_PORT=8014
|
||||
# DJANGO_ALLOWED_HOSTS=college-craft-preview.aimloperations.com
|
||||
# PUBLIC_SITE_URL=https://college-craft-preview.aimloperations.com
|
||||
# DEFAULT_FROM_EMAIL=noreply@college-craft-preview.aimloperations.com
|
||||
# DATABASE_URL=postgres://westfarn:replace-db-password@10.0.0.230:5432/college_craft_beta
|
||||
# WEB_PORT=8016
|
||||
# SHORTENER_BASE_URL=https://shortener-beta.aimloperations.com
|
||||
# SHORTENER_API_TOKEN=acme:replace-with-a-different-token
|
||||
# SHORTENER_API_TOKEN=college_craft:replace-with-a-different-token
|
||||
|
||||
Reference in New Issue
Block a user