Skip to content

Instantly share code, notes, and snippets.

@tylerflint
Created February 16, 2012 21:30
Show Gist options
  • Save tylerflint/1848008 to your computer and use it in GitHub Desktop.
Save tylerflint/1848008 to your computer and use it in GitHub Desktop.
Boxfile.install
web1:
after_build:
# If we don't have a database config file yet then we'll copy the one from installer/assets
- "[ -f 'system/cms/config/database.php' ] || mv 'installer/assets/config/dynamic_database.php' 'system/cms/config/database.php'"
after_deploy:
# All files are in place and the database connection is ready. Run the install
- "curl -s http://${APP_NAME}.pagodabox.com/installer/index.php/quick_install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment