X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrupal%2Fconsole-core%2Fconfig%2Fdist%2Fchain%2Fquick-start.yml;fp=vendor%2Fdrupal%2Fconsole-core%2Fconfig%2Fdist%2Fchain%2Fquick-start.yml;h=977d9162b2e5e5fa703ce56ed3e2b6e34974a99a;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/vendor/drupal/console-core/config/dist/chain/quick-start.yml b/vendor/drupal/console-core/config/dist/chain/quick-start.yml new file mode 100644 index 000000000..977d9162b --- /dev/null +++ b/vendor/drupal/console-core/config/dist/chain/quick-start.yml @@ -0,0 +1,18 @@ +# How to use +# quick:start --placeholder="directory:/path/to/drupal-project/" --placeholder="repository:acquia/lightning-project:^8.1" --placeholder="profile:minimal" +command: + name: quick:start + description: 'Download, install and serve a new Drupal project' +commands: + # Create Drupal project using DrupalComposer + - command: exec + arguments: + bin: composer create-project %{{repository|drupal-composer/drupal-project:8.x-dev}} %{{directory}} --prefer-dist --no-progress --no-interaction + # Install Drupal + - command: exec + arguments: + bin: drupal site:install %{{profile|standard}} --root=%{{directory}} --no-interaction + # Start PHP bult-in server + - command: exec + arguments: + bin: drupal server --root=%{{directory}}