Dynamic site engine: Flask per-CT, live API, per-vertical identities, seed content generator
This commit is contained in:
1057
sites/_engine/app.py
Normal file
1057
sites/_engine/app.py
Normal file
File diff suppressed because it is too large
Load Diff
10
sites/_engine/start.sh
Normal file
10
sites/_engine/start.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Per-vertical site launcher — installed on each CT
|
||||
# Usage: /opt/publisher/start.sh
|
||||
# Expects PUBLISHER_VERTICAL env var to be set
|
||||
|
||||
export PUBLISHER_VERTICAL="${PUBLISHER_VERTICAL:-guides}"
|
||||
export PUBLISHER_SECRET="auto-publish-2026"
|
||||
|
||||
cd /opt/publisher
|
||||
exec python3 app.py --port 5000 --host 0.0.0.0
|
||||
Reference in New Issue
Block a user