File tree Expand file tree Collapse file tree 2 files changed +23
-13
lines changed
Expand file tree Collapse file tree 2 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 11include .env
22
3+ # make help
34help :
45 @echo " "
56 @echo " usage: make COMMAND"
67 @echo " "
78 @echo " Commands:"
8- @echo " apidoc Generate documentation of API"
9- @echo " code-sniff Check the API with PHP Code Sniffer (PSR2)"
10- @echo " clean Clean directories for reset"
11- @echo " composer-up Update PHP dependencies with composer"
12- @echo " docker-start Create and start containers"
13- @echo " docker-stop Stop and clear all services"
14- @echo " gen-certs Generate SSL certificates"
15- @echo " logs Follow log output"
16- @echo " mysql-dump Create backup of all databases"
17- @echo " mysql-restore Restore backup of all databases"
18- @echo " phpmd Analyse the API with PHP Mess Detector"
19- @echo " test Test application"
9+ @echo " init Init skeleton settings"
10+ @echo " help List of all commands in make file"
11+ @echo " clear-all-logs Clear all logs in folder /logs"
12+ @echo " clear-logs-in folder=[FOLDER] Clear logs in folder"
13+ @echo " watch-log logFilePath=[PATH TO LOG FILE] Watch log file"
2014
2115# make init
2216init :
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ To install, you need to install docker locally.
1919* [ MySQL] ( http://www.mysql.com/ )
2020* [ PHP-FPM] ( http://php-fpm.org/ )
2121* [ Redis] ( http://redis.io/ )
22+ * [ Redis commander] ( https://joeferner.github.io/redis-commander/ )
2223
2324### Requirements
2425
@@ -41,7 +42,22 @@ Fill configuration in .env file
4142docker-compose build && docker-compose up
4243```
4344
44- After open in browser [ http://127.0.0.1/ ] ( http://127.0.0.1/ )
45+ After open in browser [ localhost] ( http://127.0.0.1/ )
46+
47+ ### Makefile
48+ This file helps to quickly interact with the work of docker and additional features.
49+
50+ ```
51+ usage: make COMMAND
52+
53+ Commands:
54+ init Init skeleton settings
55+ help List of all commands in make file
56+ clear-all-logs Clear all logs in folder /logs
57+ clear-logs-in folder=[FOLDER] Clear logs in folder
58+ watch-log logFilePath=[PATH TO LOG FILE] Watch log file
59+ ```
60+
4561
4662### Support
4763
You can’t perform that action at this time.
0 commit comments