瀏覽代碼

Mise à jour de 'README.md'

master
Fabien Toune 3 年之前
父節點
當前提交
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

Loading…
取消
儲存