{"id":13852679,"url":"https://github.com/Gizra/generator-hedley","last_synced_at":"2025-07-13T06:30:51.145Z","repository":{"id":24765973,"uuid":"28179191","full_name":"Gizra/generator-hedley","owner":"Gizra","description":"Scaffold a headless Drupal backend, Angular app client,  and Behat tests","archived":false,"fork":false,"pushed_at":"2017-01-02T11:09:27.000Z","size":946,"stargazers_count":98,"open_issues_count":44,"forks_count":20,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-06-23T12:03:42.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.gizra.com/content/yo-hedley","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gizra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-18T10:35:36.000Z","updated_at":"2024-04-14T07:32:14.000Z","dependencies_parsed_at":"2022-08-23T05:21:03.327Z","dependency_job_id":null,"html_url":"https://github.com/Gizra/generator-hedley","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Gizra/generator-hedley","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gizra%2Fgenerator-hedley","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gizra%2Fgenerator-hedley/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gizra%2Fgenerator-hedley/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gizra%2Fgenerator-hedley/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gizra","download_url":"https://codeload.github.com/Gizra/generator-hedley/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gizra%2Fgenerator-hedley/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265098887,"owners_count":23711217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T22:01:31.917Z","updated_at":"2025-07-13T06:30:50.794Z","avatar_url":"https://github.com/Gizra.png","language":"Shell","funding_links":[],"categories":["Shell","Tools","Scaffolding Tools"],"sub_categories":["Security tools"],"readme":"# generator-hedley [![Build Status](https://travis-ci.org/Gizra/generator-hedley.svg?branch=master)](https://travis-ci.org/Gizra/generator-hedley)\n\n\u003e Scaffold a headless Drupal backend, Angular app client, and Behat tests\n\nHedley is a [yeoman generator](http://yeoman.io/) 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.\n\n## Getting Started\n\n### Prerequisites\n\n* Yo (``npm install -g yo``)\n* [Drush](https://github.com/drush-ops/drush)\n* [Composer](https://getcomposer.org/doc/00-intro.md#globally) installed globally, for Behat dependencies to be setup\n\n### Installation\n\nTo install generator-hedley from npm, run:\n\n```bash\nnpm install -g generator-hedley\n```\n\nAs we generate not only a Web app but also add behat and other scripts make sure to create a project directory.\n\n```bash\nmkdir my-hedley-project\ncd my-hedley-project\n```\n\nFinally, initiate the generator:\n\n```bash\nyo hedley\n```\n\n## CLI\n\nYou can scaffold a new app with no user interaction, for example:\n```\nyo 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\n```\n\n## Pantheon's Cloud Integration\n\nIntegrated into hedley an automated scripts for \"Pantheon’s Cloud Integration\", The scripts are initiated through `pantheon.yml` and do the following:\n\n* Sanitization for the DEV database when cloned from TEST or LIVE environments (Basically replaces all domains in user's emails to `@test`).\n* Revert all features, The [features](https://www.drupal.org/project/features) will be reverted on each deploy to the DEV.\n \nYou can add or remove operations by editing `pantheon.yml` file in the root of the project.\n\n## Contribute\n\nIn order to develop ``generator-hedley`` and provide pull requests the following steps should be taken:\n\n1. Git clone your fork locally.\n2. ``npm install`` inside the new directory\n3. ``npm link`` - This makes your local system sync with the changes you make\n4. ``mkdir skeleton``\n5. Inside the new directory, initiate ``yo hedley``, and make sure to keep the default project name to ``skeleton``\n6. ``cp sync_hedley.example.sh sync_hedley.sh``\n7. Edit ``sync_hedley.sh`` and point the the ``GENERATOR_FOLDER`` variable to the place where ``generator-hedley`` is located\n8. From now on, you may easily sync back your changes back to the forked ``generator-hedley`` by executing ``./sync_hedley.sh``\n\n## Credits\n\n[Gizra](https://gizra.com)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGizra%2Fgenerator-hedley","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGizra%2Fgenerator-hedley","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGizra%2Fgenerator-hedley/lists"}