Site engine v6 — dynamic Flask app with search, analytics, RSS, sitemap
This commit is contained in:
14
README.md
Normal file
14
README.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# ai — Auto Publisher Site
|
||||||
|
|
||||||
|
Live at `ai.thetempleofdoom.com` — part of the autonomous publishing network.
|
||||||
|
|
||||||
|
## Tech Stack
|
||||||
|
- Python Flask on port 5000
|
||||||
|
- nginx reverse proxy on port 80
|
||||||
|
- SQLite database with FTS5 search
|
||||||
|
- Cloudflare tunnel for public access
|
||||||
|
|
||||||
|
## Deploy
|
||||||
|
```bash
|
||||||
|
cd /opt/publisher && systemctl restart publisher
|
||||||
|
```
|
||||||
10
start.sh
Normal file
10
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