minimal-streamlit-example/insight-workshop.md

524 B

Workshop Syllabus for Insight Fellows

Outline

  1. GitHub + Heroku accounts
  2. Set up environment with spec files
    1. environment.yml (conda)
    2. requirements.txt (pip)
  3. Create first streamlit app.
  4. Interactive, literate programming.
  5. Caching long-running code in functions.
  6. Hook up Heroku to new app: continuous deploy.
  7. Update your app with new elements/charts.

Tips:

  • Keep apps small.
  • Multiple apps are possible with a custom script (see st_runner.py).
  • Cache long-running functions.