GithubHelp home page GithubHelp logo

drupal-starter-kit's Introduction

Drupal Starter Kit

About

Drupal Starter Kit is a starter kit for Drupal sites which provides provisioning entire local dev stack using docker containers running current Drupal 7/8 stable release and some contributed modules sprinkled with CI infra built in using travis + gulp.

Features

  • Automated coding standard(Drupal Coding Standards, CSS Linting, JS Linting) check using coder , eslint, csslint. The infrastructure has been setup using gulp and travis.

Roadmap

  • One touch set up of local development environment using docker containers
  • Configurable path for Drupal Installation: Currently there is a dependency on the location of Drupal codebase to check/enforce coding standards which is hardcoded in gulp.js file. Eventually the location of Drupal Codebase would be configuration so that Drupal Codebase does not have to be moved to docroot dirctory which is currently the case.
  • Dashboard to analyze php notices/warning: Ideally there should not be minimal php notices/warning in a project and should decrease with time. Any deviation can be a signal for the team to diagonise the problem.

Dependencies

You need npm and composer to use this, please install npm and composer using the steps as per our OS.

Steps to install

Once all the dependencies are installed, follow the steps below

  • Clone the repo
  • cp example.travis.yml .travis.yml
  • cp example.config.yml config.yml
  • Execute npm install -g gulp
  • Execute npm install
  • Execute composer install
  • Move your Drupal codebase to docroot directory

How to use

You can check for coding standards either in your system or use it during a pull request

Local

  • Execute gulp inside your project to check for coding standards

In travis

  • Create a pull request and travis would make sure to check your pull request for coding standards.

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.