mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-04-24 08:32:38 +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:
commit
dc64f24600
@ -29,7 +29,8 @@ $ ./vendor/bin/phpunit
|
||||
|
||||
## 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:
|
||||
|
||||
```bash
|
||||
@ -39,7 +40,7 @@ $ docker-compose up
|
||||
To only install the dependencies, use `docker-compose` like this:
|
||||
|
||||
```bash
|
||||
$ docker-compose run composer install
|
||||
$ docker-compose run php php composer.phar install
|
||||
```
|
||||
|
||||
## Patterns
|
||||
|
0
docker/install-composer.sh
Normal file → Executable file
0
docker/install-composer.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user