Created
August 19, 2014 15:30
-
-
Save kasisnu/745bb4518fbf94ae9252 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # | |
| # This shell script downloads drupal 7 and quickifies the setup for Suchi's L&L | |
| # | |
| # | |
| drush dl drupal --drupal-project-rename='LLPanels' | |
| cd LLPanels | |
| echo "Enter your mysql username:" | |
| read mysql_username | |
| echo "Enter your mysql password(I do not speak out loud!):" | |
| read -s mysql_password | |
| echo "Give the database a fancy name..?" | |
| read mysql_db_name | |
| drush site-install standard --db-url=mysql://$mysql_username:$mysql_password@localhost/$mysql_db_name --site-name='LLPanels' | |
| drush dl -y ctools panels devel views references | |
| drush en -y ctools views views_ui devel devel_generate | |
| echo -e "The admin password is generated randomly. Run \n\n\t\tdrush uli admin --uri=/path/to/site/install\n\nto generate a one time login." | |
| echo "You did totally awesome! We're done here" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment