- Download the Git hub repositories with "git clone https://github.com/Wanbli83470/P11_ESTIVAL_THOMAS" in your terminal or download the zip.
- Install Python on your computer.
- Enter the downloaded folder and activate the virtual environment using the following command: "./venv/bin/activate"
- Install the necessary modules with: "pip install -r requirements.txt"
- Launch the script "P11_08_create_bdd" in a mySql client or on the web interface "PhpMyAdmin"
- Configure your login details in the "P11_02_constantes.py" file
- Start the program with the following command: "P11_01_codesource.py"
- Télécharger le repositories Git hub à l'aide d'un "git clone https://github.com/Wanbli83470/P11_ESTIVAL_THOMAS" dans votre terminal ou bien en téléchargeant le zip.
- Installer Python sur votre machine s'il ne l'est pas.
- Entrer dans le dossier téléchargé et activez l'environnement virtuel à l'aide de la commande suivante : "./venv/bin/activate"
- Installer les paquets et les dépendances à l'aide de la commande "pip install -r requirements.txt"
- Lancer le script "P11_08_create_bdd" dans un client mySql ou bien sur l'interface web "PhpMyAdmin"
- Configurer vos identifiants de connexion dans le fichier "P11_02_constantes.py"
- Lancer le programme avec la commande suivante : "P11_01_codesource.py"
- Open a terminal in the root folder "P11_ESTIVAL_THOMAS"
- Activate your virtual environment with command "./venv/bin/activate".
- Lauch the commande "Python -m unittest"
- Ouvrir un terminal dans le dossier racine "P11_ESTIVAL_THOMAS"
- Activez l'environnement virtuel à l'aide de la commande suivante : "./venv/bin/activate"
- Lancer la commande : "python -m unittest"
- Open the file P11_09_update.sh and modify the absolute path with your username
- Modify your crontab file on the command line with "crontab -e" by inserting a line like the following at the end of the file:
- * * * * * bash /home/thomas/Bureau/P11_ESTIVAL_THOMAS/P11_09_update.sh
- Ouvrir le fichier P11_09_update.sh et modifier le chemin absolu avec votre nom d'utilisateur
- Modifier votre fichier crontab en ligne de commande avec "crontab -e" en insérant une ligne tel que la suivante en fin de fichier :
- * * * * * bash /home/thomas/Bureau/P11_ESTIVAL_THOMAS/P11_09_update.sh