Last active
August 29, 2015 14:13
-
-
Save gaby-mg-snippets/3a40256874a526011a1b to your computer and use it in GitHub Desktop.
Shell scripting: PuPHPet: Custom provisioning for territorio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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