Giter Site home page Giter Site logo

ordavidil / generator-hedley Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gizra/generator-hedley

1.0 3.0 0.0 379 KB

Scaffold a headless Drupal backend, Angular app client, and Behat tests

Home Page: http://www.gizra.com/content/yo-hedley

JavaScript 40.29% PHP 12.80% Gherkin 0.29% HTML 10.91% CSS 1.47% Shell 34.24%

generator-hedley's Introduction

generator-hedley Build Status

Scaffold a headless Drupal backend, Angular app client, and Behat tests

Hedley is a yeoman generator that scaffolds a headless Drupal backend, Angular app client, and Behat tests. Its a great starting point for learning and developing fully decoupled websites, that follow best practices, and includes automatic testing using Behat.

Getting Started

Prerequisites

  • Yo (npm install -g yo)
  • Drush
  • Composer installed globally, for Behat dependencies to be setup

Installation

To install generator-hedley from npm, run:

npm install -g generator-hedley

Finally, initiate the generator:

yo hedley

CLI

You can scaffold a new app with no user interaction, for example:

yo hedley --skip-install --project-name=skeleton --github-repo=https://github.com/Foo/skeleton --db=skeleton --db-user=root --db-pass=root --drupal-url=http://localhost/skeleton/www

Contribute

In order to develop generator-hedley and provide pull requests the following steps should be taken:

  1. Git clone your fork locally.
  2. npm install inside the new directory
  3. npm link - This makes your local system sync with the changes you make
  4. mkdir skeleton
  5. Inside the new directory, initiate yo hedley, and make sure to keep the default project name to skeleton
  6. cp sync_hedley.example.sh sync_hedley.sh
  7. Edit sync_hedley.sh and point the the GENERATOR_FOLDER variable to the place where generator-hedley is located
  8. From now on, you may easily sync back your changes back to the forked generator-hedley by executing ./sync_hedley.sh

Credits

Gizra

License

MIT

generator-hedley's People

Contributors

amitaibu avatar bitamar avatar ordavidil avatar

Stargazers

 avatar

Watchers

 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.