The Third and Grove Drupal skeleton is the starter repository we use to start all new Drupal projects. It contains some repo struts we find useful, a collection of import and release helpers we have written over the years, and the basic drush/release framework we use.
For more information see our introductory blog post.
-
Clone the repo
-
At the repo root:
'drush make drupal7.make docroot'
-
Install Vagrant
-
Configure Vagrant host file
vagrant plugin install vagrant-hostsupdater
-
Move
docroot-goodies\global_custom_module
todocroot/sites/all/modules/custom
and name the module[projectcode]_global
. For example,nglcc_global
. Updatereleases/release-1-0/bootstrap.php
with the module name you picked. -
Move
example.local.settings.php
todocroot/sites/default
. Alter the this file for any needed local configuration changes than make a copy of the file in the same folder calledlocal.settings.php
. This file will be ignored by git. -
Copy
docroot-goodies/settings.php
todocroot/sites/default/settings.php
and change$drupal_hash_salt
. -
Boot up the Vagrant machine
vagrant up
- From
docroot
run the local setup script:
scripts/setup-local.sh
Take a look at releases/release-1-0.sh
. This is a starting template for a the first site release script. After initial release (or when the marketing team starts to use the CMS before launch), you can switch to a new release script format that matches the initial template except for the drush site-install
line.
See releases/utils
for a variety of helper functions for importing data during releases and releases/utils/examples
for specific release examples from previous projects.
This Drupal starter contains Apache solr 3.5, but it has not been configured for any Drupal modules yet. To see it in action visit: http://192.168.50.10:8080/solr
after running vagrant up
. Schema file is located at /usr/share/solr/example/solr/conf
. You can replace the schema.xml with whatever schema file your drupal implementation suggests.
We welcome fixes and new features. Just fork the repo and submit a pull request!
Made in Cambridge, built with beer.