Download the PHP package localgovdrupal/localgov_microsites_project without Composer
On this page you can find all versions of the php package localgovdrupal/localgov_microsites_project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download localgovdrupal/localgov_microsites_project
More information about localgovdrupal/localgov_microsites_project
Files in localgovdrupal/localgov_microsites_project
Package localgov_microsites_project
Short Description Project template for the LocalGov Drupal Microsites distribution.
License GPL-2.0-or-later
Homepage https://github.com/localgovdrupal/localgov_microsites_project
Informations about the package localgov_microsites_project
LocalGov Drupal Microsites Composer project template
This project template provides a starter kit for managing your LocalGov Drupal Microsites dependencies with Composer.
Usage
First you need to install Composer.
After that you can create the project:
Using Lando
If using Lando, you can then boot up Lando and run the site install
Using DDEV
If using ddev, you can then boot up ddev and run the site install
Using host machine
If you're working directly on your host machine, you'll still need to run the composer install.
Running PHPUnit tests in Lando
The included phpunit.xml.dist file contains configuration for automatically running the LocalGov Drupal test suite.
The default .lando.dist.xml includes environment variables for:
To allow html output, manually create a directory for browser output.
To run all LocalGov Drupal tests from Lando:
To run all the tests for a specific module:
Tests can be filtered using the --filter
option. To only run a specific test:
Running PHPUnit tests in DDEV
The included phpunit.xml.dist file contains configuration for automatically running the LocalGov Drupal test suite.
The default .ddev/config.yml includes configuration for some extra domains that ddev and phpunit will need to resolve different microsite domains.
When ddev starts, it will attempt to write these to /etc/hosts
If DDEV cannot write to /etc/hosts, you may need to add these manually.
If you are having problems runnign phpunit tests in DDEV, try adding the
following to /etc/hosts
To allow html output, manually create a directory for browser output.
To run all LocalGov Drupal tests from inside DDEV:
To run all the tests for a specific module:
Tests can be filtered using the --filter
option. To only run a specific test:
Maintainers
This project is currently maintained by:
- Ekes: https://www.drupal.org/u/ekes
- Finn Lewis: https://www.drupal.org/u/finn-lewis
- Stephen Cox: https://www.drupal.org/u/stephen-cox
All versions of localgov_microsites_project with dependencies
cweagans/composer-patches Version ^1.7
drupal/core-composer-scaffold Version ^10.0@stable
drupal/core-recommended Version ^10.0@stable
drush/drush Version ^12.0
localgovdrupal/localgov_microsites Version ^4.0