git clone https://github.com/Raneult0708/PIL1_2425_1.git
cd PIL1_2425_1
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Créer un fichier .env selon le format du fichier env.example en suivant les instructions qu'il contient
git clone https://github.com/Raneult0708/PIL1_2425_1.git
cd PIL1_2425_1
python -m venv env Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
.\env\Scripts\Activate.ps1
pip install -r requirements.txt
Créer un fichier .env selon le format du fichier env.example en suivant les instructions qu'il contient
CREATE DATABASE tododb; CREATE USER 'todo_user'@'localhost' IDENTIFIED BY 'motdepassefort'; GRANT ALL PRIVILEGES ON tododb.* TO 'todo_user'@'localhost'; FLUSH PRIVILEGES;
python manage.py migrate
USE tododb; SOURCE /chemin/vers/donneesDeTest.sql; (le chemin vers le fichier dans votre ordinateur)
python manage.py runserver