Giter Club home page Giter Club logo

drupal-skeleton's Introduction

Drupal Skeleton: The barebones boilerplate

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.

Installation

  1. Clone the repo

  2. At the repo root:

'drush make drupal7.make docroot'

  1. Install Vagrant

  2. Configure Vagrant host file

vagrant plugin install vagrant-hostsupdater

  1. Move docroot-goodies\global_custom_module to docroot/sites/all/modules/custom and name the module [projectcode]_global. For example, nglcc_global. Update releases/release-1-0/bootstrap.php with the module name you picked.

  2. Copy docroot-goodies/settings.php to docroot/sites/default/settings.php and change $drupal_hash_salt.

  3. Boot up the Vagrant machine

vagrant up

  1. Update docroot/sites/default/local.settings.php for any needed local configuration changes. This file will be ignored by git.

  2. From docroot run the local setup script:

scripts/setup-local.sh

Release Helpers

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.

Apache Solr

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.

Acquia-specific features

update-local.sh in the scripts directory can be configured to copy the database and files from an Acquia host to your local vagrant instance. Update the configuration variables at the top of the script with your Acquia account information.

Issues? Features?

We welcome fixes and new features. Just fork the repo and submit a pull request!

Made in Cambridge, built with beer.

drupal-skeleton's People

Contributors

bmoore avatar earthday47 avatar jemond avatar jfremer avatar macweber avatar michaeldewolf85 avatar thedevabides avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.