Code Monkey home page Code Monkey logo

drupal-boilerplate's Introduction

#Drupal Boilerplate#

(Total) Drupal boilerplate is not a module. Instead it just serves as a directory structure for starting a new drupal site. The idea behind Drupal boilerplate came from working on so many different sites which each follow their own development practice, directory structure, deployment guidelines, etc...

Drupal boilerplate tries to simplify starting a new site by having the most common directory structures and files already included and set up.

The main differences between this boilerplate and the lullabot one is that it is make to be used with drush make and jenkins. So, the project.make file should be placed in the root dir.

Running makeit.sh will clean and reassemble the site in the src directory but only the custom code (modules/themes/libraries) should be included in the src folder.

When branches are pushed upstream, jenkins will use the make file to create the drupal site in the docroot directory (which can then be deployed to the server by jenkins using ssh/scp).

##Getting started## You can start by downloading this project. Once you download it you will find that every folder contains a readme.md file. This readme.md file has been extensively documented to explain what belongs in that specific directory.

Here's a breakdown for what each directory/file is used for. If you want to know more please read the readme inside the specific directory.

  • docroot
  • This is where the site will be created in Jenkins.
  • drush
  • Contains project specific drush commands, aliases, and configurations.
  • results
  • This directory is just used to export test results to. A good example of this is when running drush test-run with the --xml option. You can export the xml to this directory for parsing by external tools.
  • scripts
  • A directory for project-specific scripts.
  • src
  • This is where your custom drupal code goes (create a sites/ folder and place it there)
  • test
  • A directory for external tests. This is great for non drupal specific tests such as selenium, qunit, casperjs.
  • .gitignore
  • Contains the a list of the most common excluded files.

Built by Robots&trade, updated by humans;

drupal-boilerplate's People

Contributors

blakehall avatar brockboland avatar damienmckenna avatar davereid avatar eojthebrave avatar ericduran avatar juampynr avatar justafish avatar karschsp avatar mblumenfrucht avatar mordonez avatar sirkitree avatar vadbars avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.