Gadget will set up a Drupal project with the site skeleton and tools to build your project and configure your build system with the Grunt Drupal Tasks kit.
composer.jsonfile that requires the latest stable Drupal, Drupal Console, and Drush.
npm install -g generator-gadget grunt-cli yo
To set up a new Drupal project with Grunt Drupal Tasks using Gadget, run the following in a new directory:
--offline: Will make a best effort to complete generator run, though some generated values may be non-applicable, such as Drupal Core version of "0".
--use-master: Will make a point of leveraging the master version of Grunt Drupal Tasks.
--skip-install: Will skip running
npm installat the end of the generation process.
--skip-readme: Will not generate a README.md. (Useful when you've already hand-crafted the perfect project introduction!)
--skipWelcome: Skip opening welcome message.
--skipGoodbye: Skip closing messages.
Install the dependencies:
docker-compose run --rm cli npm install
Then run the generator:
docker-compose run --rm yo gadget