This repo contains an example of the implementation of a Python dashboard using the Bokeh library. It is deployed using a simple Flask app. For styling, Bootstrap was used as a convenient and practical way to add attractive layout to Flask apps.
There are only a few steps required to run this implementation of a Bokeh dashboard on your local machine. The steps are the following:
- Clone this repo
- Make sure you have a virtual environment with flask and bokeh installed.
- Open two windows of the command terminal (or equivalent for your OS) in the directory of this project, using the virtual environment from the previous step.
- In the first window run the command "bokeh serve --allow-websocket-origin=127.0.0.1:5000 res_operacionais.py"
- In the second window run the command "python app.py"
- Finally, open the localhost - usually at http://127.0.0.1:5000/