Browse Source

* update readme about example files and dirs before build

master
dimti 1 year ago
parent
commit
ee023006ff
  1. 27
      README.md

27
README.md

@ -1,3 +1,20 @@
# Prepare
Copy all example files and dir
Cop and set your username:
`.env.example`
Choose php version and redis needed redis containers
`docker-compose.yml.example`
`dockerfiles/workspace/crontab-example`
`dockerfiles/workspace/aliases.sh.example`
Set your site(s) root-mappings
`config/nginx/conf.d/vhosts.conf.example`
## First
Create alias for `docker-compose` command.
@ -41,11 +58,11 @@ After execute created symlinks, you have some enter-points for vulnerable popula
### Xdebug
For start debugging in php-fpm, also in workspace
`./start-xdebug.sh [74|73]` - `74` by default
`./xdebug-start.sh [74|81]` - `74` by default
For start debugging in php-fpm, also in workspace
`./stop-xdebug.sh` or `./stop-xdebug.sh 73` if you launch start with php-version 73
`./xdebug-stop.sh` or `./stop-xdebug.sh 81` if you launch start new php version 81
#### Xdebug with profiler
@ -56,17 +73,17 @@ In this case `./data/profiler` must be have `777` chmod`s.
For starting xdebug with profiler enable you might:
`./start-xdebug.sh 74 1`
`./xdebug-start.sh 74 1`
Or
`./start-xdebug.sh 74 profiler` if you like
`./xdebug-start.sh 74 profiler` if you like
Second argument must be have any string
For disable profiler - just simple launch
`./quit-xdebug.sh`
`./xdebug-quit.sh`
### Mysql

Loading…
Cancel
Save