Skip to content
Snippets Groups Projects
Commit 9f4578d1 authored by Adam G-H's avatar Adam G-H
Browse files

Replace quick-start with launch commands

parent 73ce7555
No related branches found
No related tags found
No related merge requests found
Pipeline #289912 canceled
#!/bin/bash
## Description: Installs Drupal CMS and opens it in a browser.
set -e
ddev start
ddev composer install
ddev drush site:install --yes
test -n "$CI" || ddev launch
...@@ -16,6 +16,9 @@ web_environment: [] ...@@ -16,6 +16,9 @@ web_environment: []
nodejs_version: "16" nodejs_version: "16"
corepack_enable: false corepack_enable: false
ddev_version_constraint: '>= 1.23.0' ddev_version_constraint: '>= 1.23.0'
hooks:
post-start:
- exec: 'test -d vendor || composer install'
# Key features of DDEV's config.yaml: # Key features of DDEV's config.yaml:
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
"<bg=blue;fg=white> </>", "<bg=blue;fg=white> </>",
"", "",
"<bg=yellow;fg=black>Next steps</>:", "<bg=yellow;fg=black>Next steps</>:",
" * Run <fg=yellow>composer quick-start</> to initialize Drupal CMS and open it in a browser", " * Run <fg=yellow>composer launch</> to open a browser and install Drupal CMS",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html", " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://drupal.org/support", " * Get support: https://drupal.org/support",
" * Get involved with the Drupal community: https://drupal.org/getting-involved" " * Get involved with the Drupal community: https://drupal.org/getting-involved"
...@@ -79,8 +79,9 @@ ...@@ -79,8 +79,9 @@
} }
}, },
"scripts": { "scripts": {
"quick-start": [ "launch": [
"@php ./web/core/scripts/drupal quick-start drupal_cms_installer" "@composer install",
"@php -S localhost:8888 -t web ./web/.ht.router.php"
] ]
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment