Просмотр исходного кода

Mise à jour de 'README.md'

master
Fabien Toune 3 лет назад
Родитель
Сommit
c251effe6b
1 измененных файлов: 19 добавлений и 3 удалений
  1. +19
    -3
      README.md

+ 19
- 3
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

Загрузка…
Отмена
Сохранить