Requirement :
- python >= 3.3
- redis
To make an easy install of all dependencies, use pip :
pip install -r requirements.txt
- move to 'connected_object_simulator'
- add a file openweathermap.token which contain your token
Open three command line interfaces.
- Launch the redis server:
redis-server
- Launch the main server :
python main.py
- Then move to 'connected_object_simulator' and launch the connected object simulator:
python main.py run-once
(or use the 'start' argument if you want to run the simulator as a deamon)
- User register on the '/register' webpage
- User is now log in into the application and have a connected object located by default in 'Toulouse'
- User choose a sport
- User choose time when he's available to make this sport (in his current location)
- User also view other availability for this sport (in his current location)
- User can logout when he's done
- User log in from the '/login' webpage
- User choose a sport
- ...etc...