drunomics/drupal-project

Project template for drunomics Drupal projects

Installs: 6 472

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 941

Type:project


README

Test drupal setup

Builds upon https://github.com/drupal-composer/drupal-project.

Version compatibility

Usage

First you need to install composer.

Note: The instructions below refer to the global composer installation. You might need to replace composer with php composer.phar (or similar) for your setup.

After that you can create the project:

// Last stable version:
composer create-project drunomics/drupal-project:6.* PROJECT
// Last development version:
composer create-project drunomics/drupal-project:6.*@dev --stability dev PROJECT

With composer require ... you can download new dependencies to your installation.

cd PROJECT
composer require drupal/devel:~1.0

The composer create-project command passes ownership of all files to the project that is created. You should create a new git repository, and commit all files not excluded by the .gitignore file.

Documentation overview

The template builds upon drupal-composer/drupal-project. Please follow the README of https://github.com/drupal-composer/drupal-project for general documentation.

Optional features

Some optional features can be enabled by setting some environment variables when creating the project. To set a variable, you can set the variable when invoking composer; e.g.:

VARIABLE=1 composer create-project drunomics/drupal-project PROJECT

The following variables are supported:

Default variables

Environment variables that can be configured project-wide are managed in .defaults.env. Refer to the prepared variables in the file for environment variables tha are already supported in the template.