/matthieuscarset.com

My personal website.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

Drupal project template

Get a working Drupal website locally in minutes with this fine-tuned template.

Based on the great Drupal Composer project.

Requirement

Install Lando on your machine.

Usage

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!