oomphinc/drupal-scaffold

A Drupal 9 scaffold project

Installs: 1 741

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 20

Forks: 8

Open Issues: 12

Type:project

1.1.2 2020-12-21 20:49 UTC

README

Drupal 9 scaffold project to kick start development of a new instance of Drupal.

Dependencies

The only dependency this project has is Lando. All tools used for this project are containerized and wrapped with Lando.

Getting started

Place a copy of this repository in a new folder. In .lando.yml, change the name of the project. Then run lando start. This will install all dependencies via composer.

You can then execute the site installation by running the drush site-install command shown below. When prompted for database name, username, and password, enter drupal9 for all three. When prompted for host, use the hostnames value as reported when running: lando info --service=database (e.g. database.drupalscaffold.internal)

Site install command:

$ lando drush site-install standard --account-pass=admin

The command above will install Drupal with the standard installation profile. You can then log into Drupal as User 1 with admin / admin as the credentials.

Lando

You can type lando inside of the newly created project to see the available commands. Tools like Composer and npm are available with:

$ lando composer
$ lando npm