diff --git a/core/full_deploy.py b/core/full_deploy.py new file mode 100644 index 0000000..b2b0c06 --- /dev/null +++ b/core/full_deploy.py @@ -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)