Created
November 15, 2024 18:26
-
-
Save regican/7638a5f58111441048e194953dd485f5 to your computer and use it in GitHub Desktop.
Install Drupal11 with DDev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -x | |
| # file: install-clean-drupal11-ddev.sh | |
| # | |
| # Create new Drupal 11 website with DDev and PHP 8.3 | |
| # Use your working project directory. | |
| # | |
| # Configure DDev | |
| ddev config --project-type=drupal --php-version=8.3 --docroot=web | |
| # Start DDev | |
| ddev start | |
| # Create new Drupal 11 projecet | |
| ddev composer create drupal/recommended-project:^11 | |
| # use Drush | |
| ddev composer require drush/drush | |
| # update configuration | |
| ddev config --update | |
| ddev restart | |
| # install Drupal | |
| ddev drush site:install --account-name=admin --account-pass=password -y | |
| # launch website | |
| ddev launch | |
| # show details | |
| ddev describe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment