inuits/generator-drupal

Name: generator-drupal

Owner: Inuits

Description: A Yeoman generator to generate Drupal projects

Created: 2015-03-09 21:40:11.0

Updated: 2015-03-09 21:40:55.0

Pushed: 2015-03-09 21:40:55.0

Homepage: null

Size: 119

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Inuits Drupal Project Generator

This project is the Yeoman generator we use at Inuits to quickly generate the new Drupal projects. It generates the Makefiles we use to build our projects using drush make, the basic installation profile, the theme and the base feature.

Installation

First install Yeoman, if you have not yet done so.

 npm install -g yo

Then clone this repository

clone git@github.com:Inuits/generator-drupal.git

Finally link it as a npm module

enerator-drupal
 npm link
Generating a project

To create and setup a project using this generator we follow a few steps. First we generate the basic project structure. Then we build the entire Drupal tree using drush make. Then you need to create your configuration (the settings.php file). Finally you can install the project using your newly generated installation profile.

So let's do this. First run yo in an empty folder where you want to generate a project:

rupal

After answering some questions regarding the project name and readable project name, you are now ready to download Drupal core and some contrib-modules. To do this:


Then it's time to generate the configuration. Each developer who will work on the project will have to do this.

rupal:config

Finally it's time to install the Drupal site. As you will be developing the site, let's also enable some development modules which will not be enabled on your staging/production servers.

 devinstall
Useful commands in the Makefile

The generated Makefile has some different commands. Here are the most useful ones:

License

This Yeoman Drupal Generator is licensed under the MIT license.

Copyright (c) 2015 Inuits, Jeroen Budts


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.