/lando_drupal_module_high_contrast

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

Installation

This is Lando setup for the Drupal 8 High Contrast module https://www.drupal.org/project/high_contrast. It's meant mainly for developers to get started fast. In short you need Lando https://github.com/lando/lando/releases and follow these steps in bash:

git clone git@github.com:hkirsman/lando_drupal_module_high_contrast.git
cd lando_drupal_module_high_contrast
lando start
lando composer install
lando drush si minimal --existing-config --account-name=admin --account-pass=admin -y
lando drush uli

Use one of the urls from "lando start" command. Username and password for the site are both "admin" but "lando drush uli" will also give the login url.

Xdebug

When using Lando, you can easily enable/disable Xdebug by using these commands:

  • lando xdebug-on
  • lando xdebug-off

Coding standards

We've added static code analyzer https://github.com/wunderio/code-quality tool to this project. To execute it, run this in bash:

lando grumphp run