Thanks to Tom Diethe
flask
sse
hightchart.js
thread
json
jquery
json
flask
queue
thread
gevent
Follow the steps below to get a development env up and running in a ubuntu(linux).
- Go to your main project folder.
$ cd <path-to-the-folder>
- git clone the repository.
$ git clone git@github.com:cognitiveRobot/flask-sse-live-graph-demo.git
- Go inside the cloned folder.
$ cd flask-sse-live-graph-demo
- Create a Virtual Environment
$ python3 -m venv venv
- Activate the Virtual Environment
$ souce venv/bin/activate
- Upgrade the pip
$ pip install --upgrade pip
- Install all python packages
$ pip install -r requirments.txt
- If everything goes well up to now, then you would be able to quickly run the app.
$ python app.py
then go to http://127.0.0.1:5000/