Update README with instructions for developpement
This commit is contained in:
parent
4a9746c66a
commit
0f2dcd5692
1 changed files with 32 additions and 1 deletions
33
README.md
33
README.md
|
@ -1,2 +1,33 @@
|
||||||
# lps-wagtail
|
# Site du Lycée du Pays de Soule
|
||||||
|
|
||||||
|
Nouvelle version du site du Lycée du Pays de Soule, basée sur le CMS Wagtail.
|
||||||
|
|
||||||
|
## Développement
|
||||||
|
|
||||||
|
Créer un environnement de développement :
|
||||||
|
```
|
||||||
|
python -m venv env
|
||||||
|
.\env\Scripts\Activate.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
Installer les dépendances :
|
||||||
|
```
|
||||||
|
cd lps
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
Migrer la base de données :
|
||||||
|
```
|
||||||
|
python manage.py migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
Démarrer le serveur de développement :
|
||||||
|
```
|
||||||
|
python manage.py runserver
|
||||||
|
```
|
||||||
|
|
||||||
|
Installer les dépendances de développement :
|
||||||
|
```
|
||||||
|
pip install pre-commit
|
||||||
|
pre-commit install
|
||||||
|
```
|
||||||
|
|
Reference in a new issue