This is a small shell script to easily automate a Drupal site build primarily using Drush. Site deployment, public key transfer etc. is planned for later.
- Uses Drush Make to download all desired modules and translations
- Uses Drush to install Drupal with your uid1 of choice
- Creates a database on localhost (As this is localhost root is passwordless, change if necessary).
- Opens the browser with a one-time change password link to your local site.
- Creates a drush alias file for dev and live servers
- Sends your public key over ssh to the remote host
Install drush on remote hostCreate a database and a user on remote hostTransfer the Drupal directory as well as the database
Use drush rsync functionality to sync directories and database
- Install Drush and Drush Make
- Setup Drush Make to your liking
- Create a drushrc.php file with an alias location variable
- Configure the bash script to your liking, if you want your downloaded modules to be installed add them in the $MODULES_x variables. Some basic info about the dev box is required.
- Add this folder to your $PATH variable
- drupal -m