2017 © Pedro PelĂĄez
 

project drupal-boilerplate

Boilerplate for deploying new Drupal projects

image

solsoft/drupal-boilerplate

Boilerplate for deploying new Drupal projects

  • Wednesday, May 17, 2017
  • by lpalgarvio
  • Repository
  • 1 Watchers
  • 2 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

drupal-boilerplate

Build Status Dependency Status Packagist PHP 7 ready License, (*1)

Boilerplate for deploying new Drupal projects. Based on drupal-composer/drupal-project.
Using Composer and associated plugins, and the official packages.drupal.org repository.
Packages are published and updated regularly at Packagist.
Examples are provided for a series of modules and themes and are included in the composer create-project process., (*2)

Drupal versions supported

  • Drupal 8.0.x - 8.3.x
  • Drupal 7.x

Drupal 7.x is being deployed with a Drupal 8 look alike directory structure, using davidbarratt/drupal-structure., (*3)

Development branches

  • 8.x - development branch for the latest Drupal 8.3.x
  • 7.x - development branch for the latest Drupal 7.x

Usage

Before starting, consult the Composer reference for standard usage instructions.
Use composer create-project to deploy a new project, specifying one branch., (*4)

composer create-project solsoft/drupal-boilerplate:8.x-dev my-project --stability dev --no-interaction;
cd my-project;
composer update;
composer show;
composer site-install;
composer site-run;

Contributing

Clone the git repository pointing to one of the development branches.
Merge requests should be submitted against these branches., (*5)

git clone -b 8.x git@github.com:solsoft/drupal-boilerplate.git;
cd drupal-boilerplate;
composer install;
composer update;
composer show;
composer site-install;
composer site-run;

Extras

Optionally you may run composer examples-deploy to install example Drupal Contributed libraries, modules and themes example dependencies. These can also be undeployed by running composer examples-undeploy. See more information about this in the config/composer.examples directory.
Drush can be deployed locally by running composer drush-deploy.
The project can be reset by running composer cleanup-project to delete the vendor/, assets/ and app/ directories and the composer.lock file., (*6)

Credits

See the composer README for information about composer packages.
Inspiration taken from drupal-composer/drupal-project., (*7)

Drupal Boilerplate
Copyright (C) 2016-2017 SOL-Soft
LuĂ­s Pedro Algarvio, (*8)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version., (*9)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details., (*10)

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/., (*11)

The Versions