Created
August 19, 2014 15:30
-
-
Save kasisnu/745bb4518fbf94ae9252 to your computer and use it in GitHub Desktop.
Revisions
-
kasisnu created this gist
Aug 19, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #!/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"