Fix log files + README

This commit is contained in:
2020-11-12 20:38:32 +01:00
parent 1de6aaad7f
commit 1355684687
5 changed files with 77 additions and 17 deletions

47
README.md Normal file
View File

@@ -0,0 +1,47 @@
# Environnement de développement PHP
## Usage
```bash
# Initialiser l'environnement
make init
# Démarrer
make up
# Mettre à jour
make upgrade
# vider les logs
make clear-log
# remettre a plat les droits
make set-acl
```
## Configuration de VSCodium pour utiliser xdebug
Nécessite l'extension PHP debug.
```json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"hostname": "172.17.0.1",
"port": 9000,
"pathMappings": {
"/var/www/html": "/home/[user_name]/public"
},
"xdebugSettings": {
"max_data": 65535,
"show_hidden": 1,
"max_children": 100,
"max_depth": 5
}
}
]
}
```