Commit 9e013c98 authored by Silvestre Perret's avatar Silvestre Perret

Merge branch 'silvestre' of gitlab.centralesupelec.fr:2014perrets/saclaze-api into silvestre

parents 230e2ec1 5b7ee3d5
......@@ -25,7 +25,7 @@ __Else :__
- CMD : python manage.py loaddata dump.json
- CMD : python manage.py runserver
At this point, the server is running on localhost:8000. Try to make a request with your browser.
Then try to make a request with your front app STARTED ON PORT 3000.
Then try to make a request with your front app STARTED ON PORT 3000.
## Routes
......@@ -38,10 +38,18 @@ Then try to make a request with your front app STARTED ON PORT 3000.
* /observedwaitingtime ->POST Ajout d'un nouveau temps observé (attention au JSON envoyé)
* /incidentreport ->POST Ajout d'une nouvelle déclaration incident (attion au JSON envoyé)
## To Test the server
- Open a shell in the django project root directory (which contains a file manage.py)
- CMD : python -W ignore manage.py test saclaze_back.tests
## Routines
__Be sure to run the following commands every day at least:__
- CMD : python manage.py startwtf (it refresh the historical average)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment