Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Update docs for Drupal 11 release

* Fix broken links in docs
  • Loading branch information
AaronFeledy authored Aug 12, 2024
1 parent fad88b5 commit 7dc53c2
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,35 @@ Before you get started with this recipe we assume that you have:
Try out the relevant commands below to spin up a new Landoified vanilla Drupal site.

::: code-group
```bash:no-line-numbers [DRUPAL 11]
# Initialize a drupal11 recipe
mkdir my-first-drupal11-app \
&& cd my-first-drupal11-app \
&& lando init \
--source cwd \
--recipe drupal11 \
--webroot web \
--name my-first-drupal11-app
# Start the environment
lando start
# Create latest drupal11 project via composer
lando composer create-project drupal/recommended-project:11.x tmp && cp -r tmp/. . && rm -rf tmp
# Composer can timeout on install for some machines, if that happens, run the following command and then re-run the previous lando composer command:
# lando composer config --global process-timeout 2000
# Install a site local drush
lando composer require drush/drush
# Install drupal
lando drush site:install --db-url=mysql://drupal11:drupal11@database/drupal11 -y
# List information about this app
lando info
```

```bash:no-line-numbers [DRUPAL 10]
# Initialize a drupal10 recipe
mkdir my-first-drupal10-app \
Expand Down Expand Up @@ -71,35 +100,6 @@ lando composer require drush/drush
# Install drupal
lando drush site:install --db-url=mysql://drupal9:drupal9@database/drupal9 -y
# List information about this app
lando info
```

```bash:no-line-numbers [DRUPAL 11.x-dev]
# Initialize a drupal11 recipe
mkdir my-first-drupal11-app \
&& cd my-first-drupal11-app \
&& lando init \
--source cwd \
--recipe drupal11 \
--webroot web \
--name my-first-drupal11-app
# Create latest drupal11 project via composer
lando composer create-project drupal/recommended-project:11.0.x-dev@dev tmp && cp -r tmp/. . && rm -rf tmp
# Composer can timeout on install for some machines, if that happens, run the following command and then re-run the previous lando composer command:
# lando composer config --global process-timeout 2000
# Start it up
lando start
# Install a site local drush
lando composer require drush/drush
# Install drupal
lando drush site:install --db-url=mysql://drupal11:drupal11@database/drupal11 -y
# List information about this app
lando info
```
Expand All @@ -113,7 +113,7 @@ lando init --source cwd --recipe drupal9
```

If you are interested in EOL Drupal versions then check out our legacy docs:
- Drupal 8 (./legacy/drupal-8).
- Drupal 7 (./legacy/drupal-7).
- Drupal 6 (./legacy/drupal-6).
- [Drupal 8](./legacy/drupal-8).
- [Drupal 7](./legacy/drupal-7).
- [Drupal 6](./legacy/drupal-6).

0 comments on commit 7dc53c2

Please sign in to comment.