Update .gitignore to exclude VSCode settings and enhance documentation in 20-parametres.mdc with SSH and database details.
This commit is contained in:
@ -31,7 +31,12 @@ Secrets → 1Password uniquement.
|
|||||||
| Clé | Valeur |
|
| Clé | Valeur |
|
||||||
|---|---|
|
|---|---|
|
||||||
| Port SSH | **7822** (pas 3306 pour le tunnel) |
|
| Port SSH | **7822** (pas 3306 pour le tunnel) |
|
||||||
| Hosts connus | `ms1crmdev.progiweb.net`, etc. |
|
| Host SSH | `ms1crmdev.progiweb.net` |
|
||||||
|
| User SSH / home | `devcrmms1` / `/home/devcrmms1` |
|
||||||
|
| cPanel | `https://serveur-prod.progiweb.net:2083` |
|
||||||
|
| Exemple SQLTools | `.vscode/settings.json.example` → copier en `settings.json` (gitignored) |
|
||||||
|
| BD CRM dev | `devcrmms1_dev` |
|
||||||
|
| BD Inscription (2e groupe CI) | `devinscription_prod` (même host MySQL si grants OK) |
|
||||||
|
|
||||||
## 1Password / auth
|
## 1Password / auth
|
||||||
|
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,8 +1,12 @@
|
|||||||
|
# IDE — ne jamais committer les connexions SQL (copier settings.json.example)
|
||||||
|
.vscode/settings.json
|
||||||
|
|
||||||
# Runtime / data
|
# Runtime / data
|
||||||
data/
|
data/
|
||||||
logs/
|
logs/
|
||||||
error_log
|
error_log
|
||||||
|
|
||||||
|
|
||||||
# CI4 writable runtime
|
# CI4 writable runtime
|
||||||
*/writable/logs/
|
*/writable/logs/
|
||||||
*/writable/cache/
|
*/writable/cache/
|
||||||
|
|||||||
47
.vscode/settings.json.example
vendored
Normal file
47
.vscode/settings.json.example
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
// Copier vers settings.json (gitignored) et renseigner vos identifiants locaux.
|
||||||
|
"sqltools.connections": [
|
||||||
|
{
|
||||||
|
"mysqlOptions": {
|
||||||
|
"authProtocol": "default",
|
||||||
|
"enableSsl": "Disabled"
|
||||||
|
},
|
||||||
|
"ssh": "Enabled",
|
||||||
|
"previewLimit": 50,
|
||||||
|
"server": "localhost",
|
||||||
|
"port": 3306,
|
||||||
|
"sshOptions": {
|
||||||
|
"port": 7822,
|
||||||
|
"host": "ms1crmdev.progiweb.net",
|
||||||
|
"username": "YOUR_SSH_USER",
|
||||||
|
"password": "YOUR_SSH_PASSWORD"
|
||||||
|
},
|
||||||
|
"driver": "MariaDB",
|
||||||
|
"name": "CRM MS1 — dev",
|
||||||
|
"username": "YOUR_DB_USER",
|
||||||
|
"password": "YOUR_DB_PASSWORD",
|
||||||
|
"database": "devcrmms1_dev"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mysqlOptions": {
|
||||||
|
"authProtocol": "default",
|
||||||
|
"enableSsl": "Disabled"
|
||||||
|
},
|
||||||
|
"ssh": "Enabled",
|
||||||
|
"previewLimit": 50,
|
||||||
|
"server": "localhost",
|
||||||
|
"port": 3306,
|
||||||
|
"sshOptions": {
|
||||||
|
"port": 7822,
|
||||||
|
"host": "ms1crmdev.progiweb.net",
|
||||||
|
"username": "YOUR_SSH_USER",
|
||||||
|
"password": "YOUR_SSH_PASSWORD"
|
||||||
|
},
|
||||||
|
"driver": "MariaDB",
|
||||||
|
"name": "MS1 Inscription (via CRM host)",
|
||||||
|
"username": "YOUR_DB_USER",
|
||||||
|
"password": "YOUR_DB_PASSWORD",
|
||||||
|
"database": "devinscription_prod"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user