Skip to content

Instantly share code, notes, and snippets.

@gaby-mg-snippets
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaby-mg-snippets/3a40256874a526011a1b to your computer and use it in GitHub Desktop.
Save gaby-mg-snippets/3a40256874a526011a1b to your computer and use it in GitHub Desktop.
Shell scripting: PuPHPet: Custom provisioning for territorio
#!/bin/bash
################################################################################
# Drupal
################################################################################
# Download
rm -rf /vagrant/drupal/ /vagrant/default /vagrant/html
cd /vagrant
drush dl -q drupal --drupal-project-rename=drupal
# Install core
cd drupal
drush si standard \
--yes \
--db-url='mysql://root:123@localhost/territorio' \
--site-name="TerritorioOrange"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment