Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
analysis
docs
marthas_dashboard
.gitignore
README.md
marthas_dashboard.wsgi
requirements.txt
setup.py

README.md

marthas-dashboard

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 flask app (Inside the cloned repo) (NOT optional)

# install packages
pip install bokeh flask

# editable install of marthas_dashboard
pip install -e .

To Run

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

# Launch it
flask run

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