Initial commit: BlackDice site rebuild with integrated CMS
Rebuilds content management around a single admin route (/admin — "BlackDice Studio"), replacing blackdice-studio.html. Publishing writes one JSON content document instead of regenerating HTML files, so it can no longer overwrite hand-made site changes the way the old tool did. - /admin: click-to-edit copy/images, article CRUD with a Word-safe rich text editor, demo clip management, per-page SEO, enquiry log, publish history with rollback - Real per-page URLs for all pages and articles, each with its own meta/canonical/OG/JSON-LD - Newsroom + article pages driven by the CMS post library, seeded from the old studio's export (17 articles) plus a drafted GSMA Open Gateway press release awaiting approval - Demo sections on Mobile SDK and Halo CPE, interactive by default and upgradable to an uploaded clip per slot - Dependency-free Node API server (auth, publish, uploads, snapshots, leads, live sitemap) - Deployment configs for Node/nginx/IIS, Vercel and Netlify See docs/ARCHITECTURE.md, docs/PROJECT-STRUCTURE.md, docs/CMS-GUIDE.md and docs/DEPLOYMENT.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Copy to .env and fill in before deploying. server/index.mjs reads these from
|
||||
# the real process environment — see docs/DEPLOYMENT.md for how to set them on
|
||||
# your host (systemd, Docker, IIS, etc.). A .env file is NOT loaded automatically
|
||||
# by the server; it's documentation of what to set, not a config loader.
|
||||
|
||||
# Password for /admin (BlackDice Studio). REQUIRED before deploying —
|
||||
# without it the server falls back to the development password "blackdice"
|
||||
# and prints a warning on startup.
|
||||
ADMIN_PASSWORD=
|
||||
|
||||
# Signs admin session tokens. Optional — defaults to a hash derived from
|
||||
# ADMIN_PASSWORD. Set it separately if you want to be able to invalidate all
|
||||
# sessions without changing the password.
|
||||
ADMIN_SECRET=
|
||||
|
||||
# Port the server listens on. Default: 8787
|
||||
PORT=8787
|
||||
|
||||
# Where published content, uploads and enquiry leads are stored.
|
||||
# Put this on persistent storage — it's the one thing that can't be rebuilt
|
||||
# from git. Default: ./content
|
||||
CONTENT_DIR=
|
||||
|
||||
# The built site to serve. Default: ./dist
|
||||
DIST_DIR=
|
||||
|
||||
# Canonical origin used in sitemap.xml and absolute meta URLs.
|
||||
SITE_URL=https://www.blackdice.ai
|
||||
Reference in New Issue
Block a user