feat: add sync_vending_to_mariusm script and CLAUDE.md docs
Script syncs articles from VENDING (prod) to MARIUSM_AUTO (dev) via SSH. Supports dry-run, --apply, and --yes modes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
16
CLAUDE.md
16
CLAUDE.md
@@ -90,6 +90,22 @@ Documentatie completa: [README.md](README.md)
|
||||
- Coloanele `factura_*` pe `orders` (SQLite), populate lazy din Oracle (`vanzari WHERE sters=0`)
|
||||
- Refresh complet: verifica facturi noi + facturi sterse + comenzi sterse din ROA
|
||||
|
||||
## Sync articole VENDING → MARIUSM_AUTO
|
||||
|
||||
```bash
|
||||
# Dry-run (arată diferențele fără să modifice)
|
||||
python3 scripts/sync_vending_to_mariusm.py
|
||||
|
||||
# Aplică cu confirmare
|
||||
python3 scripts/sync_vending_to_mariusm.py --apply
|
||||
|
||||
# Fără confirmare (automatizare)
|
||||
python3 scripts/sync_vending_to_mariusm.py --apply --yes
|
||||
```
|
||||
|
||||
Sincronizează via SSH din VENDING (prod Windows) în MARIUSM_AUTO (dev ROA_CENTRAL):
|
||||
nom_articole (noi by codmat, codmat updatat) + articole_terti (noi, modificate, soft-delete).
|
||||
|
||||
## Deploy Windows
|
||||
|
||||
Vezi [README.md](README.md#deploy-windows)
|
||||
|
||||
Reference in New Issue
Block a user