From c251effe6b73a2ba9053b1b959815ce5111230f6 Mon Sep 17 00:00:00 2001 From: Fabien Toune Date: Thu, 12 Nov 2020 13:24:06 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c1fce70..2517629 100644 --- a/README.md +++ b/README.md @@ -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