Dynamic engine deployed: 8 sites with per-vertical identities, 10 seed articles, live APIs, systemd services
This commit is contained in:
13
core/full_deploy.py
Normal file
13
core/full_deploy.py
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""One-shot: deploy dynamic services and seed content to all 8 sites."""
|
||||||
|
import sys, os
|
||||||
|
sys.path.insert(0, os.path.expanduser("~/auto-publisher/core"))
|
||||||
|
|
||||||
|
# Run the engine deploy first
|
||||||
|
from deploy_engine import deploy_all
|
||||||
|
deploy_all()
|
||||||
|
|
||||||
|
# Then seed content
|
||||||
|
from seed_content import seed_site, SITES as SEED_SITES
|
||||||
|
for vertical, ct_ip in SEED_SITES.items():
|
||||||
|
seed_site(vertical, ct_ip)
|
||||||
Reference in New Issue
Block a user