/mz_box

A Phing Drupal boilerplate to kick-start Drupal development

Primary LanguageShellGNU General Public License v2.0GPL-2.0

MZ Box

A Phing Drupal boilerplate to kick-start Drupal development

Build Status

Boilerplate project to kick-start Drupal development using the excellent Phing build system. For a general introduction to using Phing with Drupal, read our blog post.

Getting started

Clone the repository and create the build.properties file.

cp build.properties.example build.properties

Add your SQL database name, user and password in the file, and then

phing make

to checkout all the required git repositories, and

phing build

to install the site.

Building your own makefile and installation profile

By default, this boilerplate will build the MZ profile, which comes with makefiles that specify contributed modules and configuration we use our projects in Marzee Labs.

To build from your own makefile and installation profile, adapt the following settings and add to build.properties.

drupal.make.repo = https://github.com/marzeelabs/mz
drupal.make.makefile = build-mz.make
drupal.make.revision = HEAD
drupal.profile = mz

If you want to develop your profile, you can check out a working copy by setting

drupal.make.working_copy = 1

If you have content fixtures using Migrate you can automatically migrate all of them during the build by setting

drupal.migrate = 1

Credits

Developed by Marzee Labs, @marzeelabs