|
4 | 4 |
|
5 | 5 | ### Setup
|
6 | 6 |
|
| 7 | +You can setup this sample manually or use [Vagrant](https://www.vagrantup.com/) to automatically set up a development environment for you. |
| 8 | + |
| 9 | +#### Manual |
7 | 10 | - Clone repo
|
8 | 11 | - Create your .env file from the example file: `cp .env.testing .env`
|
9 | 12 | - Install composer dependencies: `composer install`
|
|
16 | 19 | - Server: run `php -S localhost:8000 -t public`
|
17 | 20 | - Browse to localhost:8000/posts
|
18 | 21 |
|
| 22 | +#### Vagrant |
| 23 | +- Clone repo |
| 24 | + |
| 25 | +To SSH into the machine to run your tests, run ```vagrant ssh```. You can access the app on the guest vm under http://192.168.10.10/. |
| 26 | + |
19 | 27 | ### To test
|
20 | 28 |
|
21 | 29 | Run Codeception, installed via Composer
|
|
0 commit comments