Version 1
[yaffs-website] / vendor / drupal / console-core / config / dist / chain / quick-start.yml
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 (file)
index 0000000..977d916
--- /dev/null
@@ -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}}