mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
Merge pull request #357 from alfredleo/master
Fix docker run. Update docker install link. Add Play With Docker
This commit is contained in:
@@ -29,7 +29,8 @@ $ ./vendor/bin/phpunit
|
|||||||
|
|
||||||
## using Docker (optional)
|
## using Docker (optional)
|
||||||
|
|
||||||
You can optionally run tests using [Docker for Mac](https://www.docker.com/docker-mac) or [Windows](https://www.docker.com/docker-windows) or native one for [Linux](https://www.docker.com/docker-debian).
|
You can optionally run tests using [Docker for Mac, Windows or Linux](https://docs.docker.com/compose/install/).
|
||||||
|
|
||||||
Just run:
|
Just run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -39,7 +40,7 @@ $ docker-compose up
|
|||||||
To only install the dependencies, use `docker-compose` like this:
|
To only install the dependencies, use `docker-compose` like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-compose run composer install
|
$ docker-compose run php php composer.phar install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Patterns
|
## Patterns
|
||||||
|
0
docker/install-composer.sh
Normal file → Executable file
0
docker/install-composer.sh
Normal file → Executable file
Reference in New Issue
Block a user