50 lines
1.1 KiB
Markdown
50 lines
1.1 KiB
Markdown
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
|
||
}
|
||
}
|
||
]
|
||
}
|
||
``` |