Created
May 9, 2019 21:29
-
-
Save gregmercer/ddf38c941a1b4e311b76bf586f24f6a2 to your computer and use it in GitHub Desktop.
Lando Drupal 8
This file contains 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
Install Lando | |
On Mac run the following command: | |
brew cask install lando | |
Installing Drupal8 | |
0. start with an empty directory | |
1. lando init | |
- pick drupal8 | |
- type web for the webroot | |
- this creates a .lando.yml file | |
- add xdebug: true to .lando.yml file | |
config: | |
xdebug: true | |
2. lando start | |
3. lando composer create-project drupal-composer/drupal-project:8.x-dev some-dir --no-interaction | |
- installs into a directory called some-dir | |
4. mv some-dir/* . | |
5. mv some-dir/.* . | |
6. rm -rf some-dir | |
7. lando info | |
- gives you the url of your website | |
8. open browser to this url | |
- try out the Demo site (Umami Food Magazine) | |
- for db questions use: drupal8 for user, drupal8 for password, drupal8 for database | |
- also during db setup choose advance and type: database as the host | |
Other lando commands - | |
lando list | |
lando ssh | |
lando stop <name> | |
lando drush | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment