Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.