Skip to main content

Structure du projet

 

/home/rms/
├── edi/
│   ├── atgp/
│   │   ├── imp_atgp.py
│   │   ├── run_atgp.sh
│   │   ├── tmp/
│   │   └── commandes_edi/                # Répertoire cible pour les EDI téléchargés depuis le FTP
│   └── crf/
│       ├── archives/
│       │   ├── commandes_csv/
│       │   ├── commandes_edi/
│       │   └── commandes_xls/ 
│       └── import/
│           ├── commandes_csv/
│           ├── commandes_edi/
│           ├── commandes_xls/ 
│           ├── impcarf.py
│           ├── xls2csv.py
│           ├── csv2edi.py
│           ├── run_crf.sh
│           └── .env                     # identificaztion connexion site weboffice de carrefour
├── lib/
│   ├── edi2erp.py                       # transfert des fichiers EDI vers l'ERP
│   └── utils_common.py                  # Fonctions partagées (log, mail, etc.)
├── config/
│   ├── atgp.ini                         # Paramétrage FTP, SSH, logs pour ATGP
│   ├── crf.ini                          # Paramétrage pour Carrefour
│   └── config.ini                       # Paramètres globaux comme l’email (SMTP)
├── logs/
│   ├── crf/
│   │   └── crf2erp.log
│   └── edi/
│       └── edi.log
└── venv/                                # Environnement virtuel Python partagé