Using dice.sh to automate DF builds
In cases where one is using Homebrew on OSX, MAMP or just straight Linux, a script has been devised to help automate DF builds. This script will run drush make and place the Demo Framework distribution into the folder of your choice. After that is finished, it will automatically install the profile. This script can be used to install any distribution (ex: Lightning), not just DF!
Using dice.sh (build and install distro - automated, tested, beretta627 approved)
Download the dice shell script
$ wget https://gist.github.com/brantwynn/5110901/raw/dice.sh
Source the dice.sh file from your .bash_profile
source /path/to/dice.sh
Clone the distro to a working directory
$ git clone --branch 7.x-1.x http://git.drupal.org/project/df.git
Run the 'dice' command to install this distro (or others).
Usage: dice [makefile] [docroot] [dbuser] [dbpass] [database] [sitename] [distro]
$ cd df
$ dice build-df.make ~/Sites/demo root password demo.db demosite df
Notes:
Script will create the database and populate it with tables.
[dbuser] needs create privilege
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion