14 lines
407 B
Python
14 lines
407 B
Python
#!/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)
|