Last active
December 25, 2015 06:19
-
-
Save ollar/6930915 to your computer and use it in GitHub Desktop.
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 | |
echo -n "Hello. This is a Drupal installation script. " | |
echo -n "Downloading Drupal..." | |
drush dl drupal -y | |
mv drupal-* drupal | |
cd drupal | |
echo -n "Please type the database login: " | |
read login | |
echo -n "... and database password: " | |
read pass | |
echo -n "Table name: " | |
read table | |
echo -n | |
drush si --account-pass=admin --db-url=mysql://$login:$pass@localhost/$table --clean-url=0 --site-name=dev -y | |
drush dl bueditor colorbox ctools devel jquery_update pathauto token views zen -y | |
# drush dl bueditor ctools jquery_update pathauto token views rules backup_migrate metatag transliteration advanced_help -y | |
drush en bueditor colorbox ctools devel* jquery_update pathauto token views views_ui zen -y | |
# drush en bueditor ctools jquery_update pathauto token views rules backup_migrate metatag transliteration advanced_help -y | |
drush dis color overlay -y | |
drush colorbox-plugin | |
chmod a+w sites/default/files sites/default/files/styles | |
drush zen dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment