mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-29 03:00:15 +02:00
Add docker part in readme and deprecate vagrant one
This commit is contained in:
10
README.md
10
README.md
@@ -13,7 +13,15 @@ I think the problem with patterns is that often people do know them but don't kn
|
|||||||
You should look at and run the tests to see what happens in the example.
|
You should look at and run the tests to see what happens in the example.
|
||||||
To do this, you should install dependencies with `Composer` first:
|
To do this, you should install dependencies with `Composer` first:
|
||||||
|
|
||||||
### [optional] Using a Virtual Machine (VM)
|
### [option] Using Docker
|
||||||
|
|
||||||
|
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).
|
||||||
|
Just run:
|
||||||
|
```
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
### [optional] [DEPRECATED] Using a Virtual Machine (VM)
|
||||||
|
|
||||||
If you wish to use a ready made VM environment, you can easily create one with Vagrant and Ansible.
|
If you wish to use a ready made VM environment, you can easily create one with Vagrant and Ansible.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user