Update README

This commit is contained in:
Vincent Letourneau
2017-07-28 18:44:50 +02:00
parent 068081f987
commit ea71aa6fdb

View File

@@ -164,6 +164,10 @@ cd docker-nginx-php-mysql
**Please wait this might take a several minutes...** **Please wait this might take a several minutes...**
```sh
sudo docker-compose logs -f # Follow log output
```
3. Open your favorite browser : 3. Open your favorite browser :
* [http://localhost:8000](http://localhost:8000/) * [http://localhost:8000](http://localhost:8000/)
@@ -183,14 +187,13 @@ cd docker-nginx-php-mysql
When developing, you can use [Makefile](https://en.wikipedia.org/wiki/Make_(software)) for doing the following operations : When developing, you can use [Makefile](https://en.wikipedia.org/wiki/Make_(software)) for doing the following operations :
| Name | Description | | Name | Description |
|---------------|-----------------------------------------| |---------------|---------------------------------------|
| apidoc | Generate documentation of API | | apidoc | Generate documentation of API |
| clean | Clean directories for reset | | clean | Clean directories for reset |
| composer-up | Update php composer | | composer-up | Update php composer |
| docker-start | Create and start containers | | docker-start | Create and start containers |
| docker-stop | Stop all services | | docker-stop | Stop all services |
| docker-sweep | Sweep old containers and volumes | | gen-certs | Generate SSL certificates for `nginx` |
| gen-certs | Generate SSL certificates for **nginx** |
| mysql-dump | Create backup of whole database | | mysql-dump | Create backup of whole database |
| mysql-restore | Restore backup from whole database | | mysql-restore | Restore backup from whole database |
| test | Test application with phpunit | | test | Test application with phpunit |