Get a working Drupal website locally in minutes with this fine-tuned template.
Based on the great Drupal Composer project.
Install Lando on your machine.
Click on the button Use this template to generate your own project, then:
git clone git@github.com:<UsernameOrOrganization>/drupal-template.git matthieuscarset
cd matthieuscarset
# Replace the project name (i.e. 'matthieuscarset').
code .env.example # -> DRUSH_OPTIONS_URI=https://matthieuscarset.lndo.site
code .lando.yml # -> name: matthieuscarset
# Create your env file now
cp .env.example .env
# Commit your changes
git add . && git commit -m "Rename project" && git push
# Start the project
lando start
# Download dependencies
lando composer install -o
# Install Drupal
lando drush site:install --existing-config -y
lando drush user:password admin admin
lando drush user:login # -> Ctrl+Click the URL to open your site :)
Start to build things!