You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: emulsify-drupal/emulsify-drupal/advanced-usage/lando-environments.md
+50-44
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@
2
2
description: Use Lando to make your development environment portable
3
3
---
4
4
5
-
# Lando
5
+
# Lando Environments
6
6
7
7
### Why use Lando?
8
+
8
9
1. Standardizing local environments is simple and effective.
9
10
2. Your development environment is portable, so you only need Docker and Lando to develop.
10
11
3. Complicated infrastructure can be stood up quickly.
@@ -14,45 +15,48 @@ description: Use Lando to make your development environment portable
14
15
15
16
### Dependencies
16
17
17
-
-[Docker](https://docs.docker.com/get-docker/)
18
-
-[Lando](https://lando.dev/download/)
18
+
*[Docker](https://docs.docker.com/get-docker/)
19
+
*[Lando](https://lando.dev/download/)
19
20
20
21
### Basic Lando stack
21
22
22
-
1. The `drupal9` recipe can handle most the work for us
23
-
```yaml
24
-
recipe: drupal9
25
-
```
26
-
2. Emulsify needs port 6006 to be available for StorybookJS and port 32778 to be available for [Hot Reload](./hot-reload-drupal.md).
27
-
```yaml
28
-
services:
29
-
appserver:
30
-
overrides:
31
-
ports:
32
-
- 6006:6006
33
-
- 32778:32778
34
-
```
35
-
3. Both NodeJS and NPM needs to be available at a project level. Using npm the emulsify cli command can also be installed. This and npm can both be made available via Lando tooling.
1. The `drupal9` recipe can handle most the work for us
24
+
25
+
```yaml
26
+
recipe: drupal9
27
+
```
28
+
2. Emulsify needs port 6006 to be available for StorybookJS and port 32778 to be available for [Hot Reload](hot-reload-drupal.md).
29
+
30
+
```yaml
31
+
services:
32
+
appserver:
33
+
overrides:
34
+
ports:
35
+
- 6006:6006
36
+
- 32778:32778
37
+
```
38
+
3. Both NodeJS and NPM needs to be available at a project level. Using npm the emulsify cli command can also be installed. This and npm can both be made available via Lando tooling.
1. Run `composer create-project drupal/recommended-project my-project`
106
-
See [Starting a Site Using Drupal Composer Project Templates](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates) for more information on setting up a Drupal project with Composer.
109
+
110
+
1. Run `composer create-project drupal/recommended-project my-project` See [Starting a Site Using Drupal Composer Project Templates](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates) for more information on setting up a Drupal project with Composer.
107
111
2. Add the above lando.yml file to the project
108
112
3. Run `lando start`
109
113
4. After it builds you can then run these commands:
110
-
- `lando node`
111
-
- `lando npm`
112
-
- `lando emulsify`
113
-
- `lando drush`
114
-
5. Follow the [Inside a Composer-Based Drupal Instance](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates) steps to complete setting up Emulsify Drupal.
114
+
115
+
* `lando node`
116
+
* `lando npm`
117
+
* `lando emulsify`
118
+
* `lando drush`
119
+
120
+
1. Follow the [Inside a Composer-Based Drupal Instance](https://docs.emulsify.info/emulsify-drupal/emulsify-drupal#inside-a-composer-based-drupal-instance) steps to complete setting up Emulsify Drupal.
0 commit comments