davidcomfort/dash_sample_dashboard

how to run locally?

Opened this issue · 5 comments

thank you for your medium post? how do you run locally?

I tried python app.py

Thanks for your great effort but please how do you run it locally I tried different ways.

You need to run the index.py instead of app.py so: python3 index.py

I am also unable to run the app locally. I've tried running both app.py and index.py. When running index.py the error seems to occur within layouts.py.
errorMessage

I ran into the same problem. You probably installed dash 1.3 which is the right thing to do, because there are many improvements, but if you look at the requirements.txt the required version is 0.38. So.... n_fixed_columns has changed names to fixed_columns so you have to change that out and also anything that has n_fixed_rows. n_fixed_columns was deprecated in the new versions. There may be other parameters that changed name. If so, comment them out or just remove them to get them running. Keep in mind, I didn't write this excellent article but I did go through some of the challenges you are seeing. Good luck. One hot tip I would recommend is trying out a github called slapdash. This is a cookiecutter template that will build a demo web site and it runs already on dash 1.3. That was the path I ended up taking after getting this repo running and it got me started developing in the right direction with a clean template. Slapdash includes bootstrap stuff so that makes it very nice for making slicker layouts.

Super!