Sfoglia il codice sorgente

Mise à jour de 'README.md'

master
Fabien Toune 3 anni fa
parent
commit
c251effe6b
1 ha cambiato i file con 19 aggiunte e 3 eliminazioni
  1. +19
    -3
      README.md

+ 19
- 3
README.md Vedi File

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


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


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

Ensuite : Ensuite :


./manage.py runserver ./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 Puis se rendre sur http://localhost:8000/admin

Caricamento…
Annulla
Salva