{"id":18866185,"url":"https://github.com/localgovdrupal/localgov_microsites_project","last_synced_at":"2025-10-07T00:45:24.943Z","repository":{"id":38055092,"uuid":"483223113","full_name":"localgovdrupal/localgov_microsites_project","owner":"localgovdrupal","description":"Project template for Drupal sites built with the LocalGov Drupal Microsites distribution. ","archived":false,"fork":false,"pushed_at":"2025-04-08T11:46:26.000Z","size":117,"stargazers_count":7,"open_issues_count":10,"forks_count":4,"subscribers_count":6,"default_branch":"4.x","last_synced_at":"2025-04-08T12:36:31.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://localgovdrupal.org/products/microsites","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localgovdrupal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-19T11:46:26.000Z","updated_at":"2025-04-08T11:45:42.000Z","dependencies_parsed_at":"2023-02-13T00:01:31.503Z","dependency_job_id":"82881836-5fbd-463f-9851-d7ee72d119c2","html_url":"https://github.com/localgovdrupal/localgov_microsites_project","commit_stats":{"total_commits":39,"total_committers":7,"mean_commits":5.571428571428571,"dds":0.7948717948717949,"last_synced_commit":"00ef8cb8df8fc5ad3cbdbae660c0046bc08ac791"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_microsites_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_microsites_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_microsites_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_microsites_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localgovdrupal","download_url":"https://codeload.github.com/localgovdrupal/localgov_microsites_project/tar.gz/refs/heads/4.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248897006,"owners_count":21179524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T05:05:47.910Z","updated_at":"2025-10-07T00:45:24.916Z","avatar_url":"https://github.com/localgovdrupal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalGov Drupal Microsites Composer project template\n\nThis project template provides a starter kit for managing your LocalGov Drupal Microsites dependencies with [Composer](https://getcomposer.org/).\n\nPlease note that this is a separate distribution from LocalGov Drupal.\n\nFor more information on the Localgov Microsites install profile, please see https://github.com/localgovdrupal/localgov_microsites\n\nFor more information on the LocalGov Drupal install profile, please see https://github.com/localgovdrupal/localgov\n\n## Usage\n\nFirst you need to [install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).\n\nAfter that you can create the project:\n\n```shell\ncomposer create-project --stability stable localgovdrupal/localgov_microsites_project:^4.0 MY_PROJECT  --no-install\n```\n\n## Using Lando\n\nIf using Lando, you can then boot up Lando and run the site install\n\n```shell\ncd MY_PROJECT\nlando start\nlando composer install\nlando drush si localgov_microsites -y\n```\n\n## Using DDEV\n\nIf using ddev, you can then boot up ddev and run the site install\n\n```shell\ncd MY_PROJECT\nddev start\nddev composer install\nddev drush si localgov_microsites -y\n```\n\n## Using host machine\n\nIf you're working directly on your host machine, you'll still need to run the composer install.\n\n```shell\ncd MY_PROJECT\ncomposer install\ndrush si localgov_microsites -y\n```\n\n## Running PHPUnit tests in Lando\n\nThe included phpunit.xml.dist file contains configuration for automatically\nrunning the LocalGov Drupal test suite.\n\nThe default .lando.dist.xml includes environment variables for:\n\n```bash\nBROWSERTEST_OUTPUT_DIRECTORY: '/app/web/sites/simpletest/browser_output'\nBROWSERTEST_OUTPUT_BASE_URL: 'https://localgov-micro.lndo.site'\n```\n\nTo allow html output, manually create a directory for browser output.\n\n```bash\nmkdir web/sites/simpletest/browser_output\n```\n\nTo run all LocalGov Drupal tests from Lando:\n\n```bash\nlando ssh\nphpunit\n```\n\nTo run all the tests for a specific module:\n\n```bash\nlando ssh\nphpunit web/modules/contrib/localgov_my_module\n```\n\nTests can be filtered using the `--filter` option. To only run a specific test:\n\n```bash\nlando ssh\nphpunit --filter=myTestName\n```\n\n\n## Running PHPUnit tests in DDEV\n\nThe included phpunit.xml.dist file contains configuration for automatically\nrunning the LocalGov Drupal test suite.\n\nThe default .ddev/config.yml includes configuration for some extra domains that\nddev and phpunit will need to resolve different microsite domains.\n\nWhen ddev starts, it will attempt to write these to /etc/hosts\n\nIf DDEV cannot write to /etc/hosts, you may need to add these manually.\n\nIf you are having problems runnign phpunit tests in DDEV, try adding the\nfollowing to `/etc/hosts`\n\n```\n127.0.0.1 group-1.web group-2.web group-3.web group-4.web group-5.web\n```\n\nTo allow html output, manually create a directory for browser output.\n\n```bash\nmkdir web/sites/simpletest/browser_output\n```\n\nTo run all LocalGov Drupal tests from inside DDEV:\n\n```bash\nddev ssh\nphpunit\n```\n\nTo run all the tests for a specific module:\n\n```bash\nddev ssh\nphpunit web/modules/contrib/localgov_my_module\n```\n\nTests can be filtered using the `--filter` option. To only run a specific test:\n\n```bash\nddev ssh\nphpunit --filter=myTestName\n```\n\n## Maintainers\n\nThis project is currently maintained by:\n\n - Ekes: https://www.drupal.org/u/ekes\n - Finn Lewis: https://www.drupal.org/u/finn-lewis\n - Stephen Cox: https://www.drupal.org/u/stephen-cox\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgovdrupal%2Flocalgov_microsites_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalgovdrupal%2Flocalgov_microsites_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgovdrupal%2Flocalgov_microsites_project/lists"}