Conserve les conventions Inscription sous projet/ et ajoute ops Git/deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
---
|
|
description: MS1 Inscription — paramètres figés (ops)
|
|
alwaysApply: true
|
|
---
|
|
|
|
# Paramètres — MS1 Inscription
|
|
|
|
Secrets → 1Password uniquement.
|
|
|
|
## Git / remotes
|
|
|
|
| Clé | Valeur |
|
|
|---|---|
|
|
| Gitea (Windows) | `http://git.progiweb.ca/stephan/ms1inscription-v5.git` |
|
|
| Branche travail | `dev` |
|
|
| Branche prod | `master` |
|
|
| Bitbucket miroir | `https://bitbucket.org/progiwebinc/ms1inscription-v5.git` |
|
|
|
|
## Miroir
|
|
|
|
| Clé | Valeur |
|
|
|---|---|
|
|
| Modèle | Comme Reader : sync **à chaque soumission** + intervalle filet (ex. `1h`) |
|
|
| Auth Bitbucket | `x-token-auth` + access token (item 1Password dédié Inscription si distinct) |
|
|
|
|
## Déploiement
|
|
|
|
| Clé | Valeur |
|
|
|---|---|
|
|
| User / home typique | `devinscription` / `/home/devinscription` |
|
|
| Git root serveur | **Docroot du site** (pas le home entier — layout ≠ Reader) |
|
|
| Script | `/home/devinscription/deploy/deploy_dev.sh` |
|
|
| Webhook PHP | `deploy_dev.php` à la **racine du dépôt** (versionné) |
|
|
| Contenu PHP | `shell_exec('/home/devinscription/deploy/deploy_dev.sh 2>&1')` |
|
|
|
|
## SSH / SQLTools
|
|
|
|
| Clé | Valeur |
|
|
|---|---|
|
|
| Port SSH | **7822** |
|
|
| Exemple | `.vscode/settings.json.example` |
|