Skip to content

Commit

Permalink
Merge pull request #121 from localgovdrupal/2.x
Browse files Browse the repository at this point in the history
2.0.10 release
finnlewis authored Jul 24, 2023
2 parents fe6d18b + 9e20e69 commit a703738
Showing 5 changed files with 48 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .ddev/commands/web/phix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

## Description: Run phpcbf to automatically fix some phpcs errors.
## Usage: phix
## Example: "ddev phix"

/var/www/html/bin/phpcbf
7 changes: 7 additions & 0 deletions .ddev/commands/web/phpcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

## Description: Run phpcs in the web container.
## Usage: phpcs
## Example: "ddev phpcs"

/var/www/html/bin/phpcs -p
7 changes: 7 additions & 0 deletions .ddev/commands/web/phpstan
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

## Description: Run PHPSTAN to report on code deprecations.
## Usage: phpix
## Example: "ddev phix"

/var/www/html/bin/phpstan
7 changes: 7 additions & 0 deletions .ddev/commands/web/phpunit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

## Description: Run phpunit in the web container to run phpunit tests.
## Usage: phpunit
## Example: "ddev phpunit"

/var/www/html/bin/phpunit
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -13,6 +13,26 @@ For guidance on installing see:
- [Installing LocalGov Drupal locally with composer](https://github.com/localgovdrupal/localgov/blob/2.x/README.md#installing-localgov-drupal-locally-with-composer)
- [Getting started on LocalGov Drupal docs](https://docs.localgovdrupal.org/devs/getting-started/)

## Gitpod

Gitpod allows you to run a virtual development environment in the cloud in your browser.

This can be very useful for testing functionality, reviewing pull requests, or working on features.

### Before you start

You will need an account on Gitpod.

If you authenticate with your Github account, you will be able to push commits back to the repository you are working on.

[Sign up for gitpod.io](https://gitpod.io/login), if you haven't already.

### Spin up LocalGov Drupal with

Click on the "Open in Gitpod" button below

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/localgovdrupal/localgov_project)

## Maintainers

This project is currently maintained by:

0 comments on commit a703738

Please sign in to comment.