Flask Realtime Graph built with Plotly and Pusher. You can view the tutorial here.
To run locally:
- Clone/Download this repo -
git clone https://github.com/olayinkaos/realtime-graph.git - [Optionally] Create a local virtualenv in the project folder (You must have virtualenv installed) -
virtualenv .venv - [Optionally] Activate virtual environment -
source .venv/bin/activate - Install all dependencies -
pip install -r requirements.txt - Replace the values of
YOUR_APP_ID,YOUR_APP_KEY,YOUR_APP_SECRET,YOUR_APP_CLUSTERwith your Pusher credentials inapp.pyandindex.html. These can be gotten from the Pusher dashboard. - Run app -
python app.py - Visit localhost:5000 to view the app.
To run this app, you would need the following installed: