This commit is contained in:
Pitchaya Boonsarngsuk
2019-07-05 16:56:10 +01:00
parent c3d3dcbff7
commit 6b6c18c79e
9 changed files with 367 additions and 53 deletions

7
api/Readme.md Normal file
View File

@@ -0,0 +1,7 @@
Enable prod mode: `docker-compose exec php composer dump-env prod`
Disable prod mode: delete `.env.local.php`
Clear Prod cache `docker-compose exec php bin/console cache:clear --env=prod`
Swagger: https://api-platform.com/docs/core/swagger/#using-the-openapi-and-swagger-contexts