Skip to content

Commit a39b252

Browse files
committed
add lando support and drush to drupal
1 parent 745c48d commit a39b252

File tree

4 files changed

+200
-204
lines changed

4 files changed

+200
-204
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ These commands should be run from within the `/drupal` folder.
6161

6262
Refer to the documentation for more details: https://ddev.readthedocs.io
6363

64+
### Lando
65+
> It's a free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology and developed by Tandem.
66+
67+
Lando will manage your Drupal workflow. All commands should be executed within the `/drupal` folder. For additional information on Lando: https://docs.lando.dev/getting-started/
68+
69+
To use Lando
70+
71+
- `cd ./drupal`
72+
- `lando start`
73+
- `drush si --db-url="mysql//drupal9:drupal9@database:3306/drupal9" minimal && drush en druxt -y`
74+
- Visit http://druxt-quickstart.lndo.site/ in your browser
75+
6476
### @nuxtjs/auth-next
6577

6678
> Zero-boilerplate authentication support for Nuxt.js!

drupal/.lando.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: druxt-quickstart
2+
recipe: drupal9
3+
config:
4+
webroot: web
5+
type: 'mariadb:10.3'
6+
php: '8.1'
7+
drush: true
8+
composer_version: 2
9+
services:
10+
appserver:
11+
build:
12+
- "composer install --prefer-dist --optimize-autoloader"

drupal/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"drupal/core-recommended": "9.3.6",
2222
"drupal/druxt": "1.1.1",
2323
"drupal/simple_oauth": "^5.2",
24-
"drush/drush": "11.0.5",
24+
"drush/drush": "^11.0",
2525
"vlucas/phpdotenv": "^5.4"
2626
},
2727
"require-dev": {

0 commit comments

Comments
 (0)