COVID-19-EDA-tutorial icon indicating copy to clipboard operation
COVID-19-EDA-tutorial copied to clipboard

basic streamlit setup with docker

Open machow opened this issue 4 years ago • 1 comments

@hugobowne this PR does two main things to address #7:

  • adds streamlit, along with a basic demo from part of your notebook (see app.py file).
  • dockerizes the process, so it can be run using docker-compose up, and previewed from localhost:8000. I commented out some lines that will allow the dashboard to scale better when run on a beefy machine on eg Digital Ocean etc..

screencast of me running the dashboard

Notes

  • it appears there is some uncertainty around how to use conda from docker. I didn't have time to shave the docker+conda yak, so used normal python + pip in the container.
  • the environment.yml did not pin all dependency versions. Added the to requirements.txt.

Hope this helps!

machow avatar Apr 06 '20 16:04 machow