Getting Started

Project currently modeled off these resources:

  1. Flask project structure documentation
  2. Bokeh-flask sample project

Setup

# Create/activate virtual environment (optional)
mkdir venvs
cd venvs
python3 -m venv marthas_dashboard
source marthas_dashboard/bin/activate

# install packages
pip install bokeh flask

To Run

# export environment variable
export FLASK_APP=marthas_dashboard
export FLASK_DEBUG=true

# do "editable install" of package
pip install -e .

# Launch it
flask run

Note: Here is more info on pip install -e, which does an editable install.