- Clone this repo, enter the folder.
- Install DDEV if not already done: https://ddev.readthedocs.io/en/stable/#installation
ddev start
- If needed, change Drupal version in composer.json
ddev composer install
ddev composer update drupal/lms
ddev composer si
cd web/modules/contrib/lms
git remote add your-fork-name your-fork-ssh
git pull
- Checkout issue branch, make changes, push to your fork, create a merge request.
To create a site with test content already created, run:
ddev composer sid
To create a site with the initial state of functional JS tests, run:
ddev composer test-environment
ddev ssh
mkdir web/sites/default/files/simpletest/browser_output
(if not already done)composer test [module_name]
(the module folder must be in web/modules/contrib)composer phpstan [module_name]
(the module folder must be in web/modules/contrib)composer phpcs [module_name]
(the module folder must be in web/modules/contrib)