Heroku is a platform for easily hosting web apps.
Superset is a modern, enterprise-ready business intelligence web application.
This project is for hosting DataTogether's Superset instance on Heroku, for visualizing live project data in dashboards.
- virtualenvwrapper.sh (recommended)
- Heroku CLI (recommended)
- Superset's OS dependencies
# Setup
mkvirtualenv datatogether-superset --python=`which python3`
make pip-install
make setup
# Running
workon datatogether-superset
make run
# Heroku setup
heroku addons:create heroku-postgresql
heroku config:set SECRET_KEY=`openssl rand -hex 36
heroku config:set MAPBOX_API_KEY=<acquired-key>
master
branch is auto-deployed to Heroku.- We use the Probot: Configurer plugin to allow repo
settings via pull request using
.github/config.yml
. - We use a python package management strategy explained best by Kenneth Reitz. (A little outdated, but works fine.)