Browse Source

Mise à jour de 'README.md'

master
Fabien Toune 3 years ago
parent
commit
c251effe6b
1 changed files with 19 additions and 3 deletions
  1. +19
    -3
      README.md

+ 19
- 3
README.md View File

@@ -2,7 +2,7 @@

Gestion des pannes et des interventions techniques dans une boulangerie artisanale

## Pour tester
## Pour tester sous Linux

git clone https://git.techprog.be/fabien.toune/boulangerie.git
cd boulangerie/
@@ -16,10 +16,26 @@ Gestion des pannes et des interventions techniques dans une boulangerie artisana
./manage.py migrate
./manage.py createsuperuser

**Note** : sous Windows, il faut remplacer la commande "`. env/bin/activate`" par "`.\Scripts\activate`"

Ensuite :

./manage.py runserver

## Pour tester sous Windows

git clone https://git.techprog.be/fabien.toune/boulangerie.git
cd boulangerie/
virtualenv env
virtualenv env
\env\Scripts\activate
pip install django
pip install djangorestframework
pip install django-cors-headers
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser

Ensuite :

python manage.py runserver

Puis se rendre sur http://localhost:8000/admin

Loading…
Cancel
Save