Update README
This commit is contained in:
35
README.md
35
README.md
@@ -44,29 +44,25 @@ Docker running Nginx, PHP-FPM, Composer, MySQL and PHPMyAdmin.
|
|||||||
5. Stop :
|
5. Stop :
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker-compose stop
|
docker-compose stop && docker-compose kill && docker-compose rm -f
|
||||||
docker-compose kill
|
|
||||||
docker-compose rm -f
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using Makefile
|
## Makefile
|
||||||
|
|
||||||
When developing, you can use the Makefile for doing the following operations :
|
When developing, you can use the [Makefile](https://en.wikipedia.org/wiki/Make_(software)) for doing the following operations :
|
||||||
|
|
||||||
### Makefile
|
| Name | Description |
|
||||||
|
|---------------|-----------------------------------------|
|
||||||
| Name | Description |
|
| apidoc | Generate documentation of API |
|
||||||
|---------------|-----------------------------------|
|
| clean | Clean directories for reset |
|
||||||
| apidoc | Generate documentation of API |
|
| composer-up | Update php composer |
|
||||||
| clean | Clean directories for reset |
|
| docker-start | Create and start containers |
|
||||||
| composer-up | Update php composer |
|
| docker-stop | Stop all services |
|
||||||
| docker-start | Create and start containers |
|
| docker-sweep | Sweep old containers and volumes |
|
||||||
| docker-stop | Stop all services |
|
| gen-certs | Generate SSL certificates for **nginx** |
|
||||||
| docker-sweep | Sweep old containers and volumes |
|
| mysql-dump | Create backup of whole database |
|
||||||
| gen-certs | Generate SSL certificates |
|
| mysql-restore | Restore backup from whole database |
|
||||||
| mysql-dump | Create backup of whole database |
|
| test | Test application with phpunit |
|
||||||
| mysql-restore | Restore backup from whole databas |
|
|
||||||
| test | Test application |
|
|
||||||
|
|
||||||
## Directory tree
|
## Directory tree
|
||||||
|
|
||||||
@@ -89,7 +85,6 @@ When developing, you can use the Makefile for doing the following operations :
|
|||||||
│ └── ssl
|
│ └── ssl
|
||||||
└── web
|
└── web
|
||||||
├── app
|
├── app
|
||||||
│ ├── composer.json
|
|
||||||
│ ├── composer.json.dist
|
│ ├── composer.json.dist
|
||||||
│ ├── phpunit.xml.dist
|
│ ├── phpunit.xml.dist
|
||||||
│ ├── src
|
│ ├── src
|
||||||
|
|||||||
Reference in New Issue
Block a user