Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (27 sloc) 1.02 KB
name: drupal-pressflow
instances: 1
framework: php
mem: 256M
min_version:
client: 1.4.3
server: 1.0
services:
${name}-db: mysql
${name}-fs: filesystem
hooks:
post-staging:
# First we get drush and put it in the app root (more secure).
- curl -sfS http://ftp.drupal.org/files/projects/drush-7.x-5.1.tar.gz | tar xzf -
- mv drush "$STACKATO_APP_ROOT"/
# create sites in the shared filesystem and migrate
- mkdir -p "$STACKATO_FILESYSTEM"/sites
- cp -r sites/* "$STACKATO_FILESYSTEM"/sites/
# remove unused directories
- rm -rf sites
# link to sites folder in the shared filesystem
- ln -s "$STACKATO_FILESYSTEM"/sites sites
# This does the full install.
- "- $STACKATO_APP_ROOT/drush/drush -r $HOME site-install -y --db-url=$DATABASE_URL --account-name=admin --account-pass=passwd --site-name=Stackato --locale=en-US"
pre-running:
# Workaround to pass $VCAP_SERVICES to cron
- python vcap-workaround.py
Something went wrong with that request. Please try again.