Created
January 17, 2015 18:44
-
-
Save mpdonadio/5e51607922f6066691d9 to your computer and use it in GitHub Desktop.
drupal-install
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
function drupal-install() { | |
# If you run this command with an argument, it will be the name of the DB | |
if [ $1 ] ; then | |
drush si --notify --account-pass=admin --db-url=mysql://root:root@localhost/$1 -y | |
else | |
drush si --notify --account-pass=admin --db-url=mysql://root:root@localhost/d8 -y | |
fi | |
# Install and uninstall common modules | |
#drush en devel simpletest -y | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment