Also, why link dash to an import flask or use the internal. Here are some variation, so you can see how unclear I am. Why does they need to reference app:server and not just the app in the py file? What are the benefits or drawbacks of each. Some use a WSGI.py module, others call the main. Okay, for whatever reason, you need a production server for DASH, and must use gunicorn or waitress, whatever, why are their different solutions. Why does DASH embed flask? And if it must, to serve pages, why didn’t it embed gunicorn instead because it says flask should only be used to developing? If it has an option to embed gunicorn, then wouldn’t that make deployment a snap? I vaguely know what docker is, but I have enough spinning plates in the air for now! Here are some questions: I fear it will be my last on DASH unless someone at DASH can help me out with some questions or improve DASH’s deployment documentation. In the end, if it’s a choice between becoming a Linux server expert and ditching DASH for other library (and their Javascript headaches but ample people to help) then, well, I’m struggling here. To expect open-source efforts to have to buy into a Heroku app sort of defeats the idea of open-source. But that doesn’t mean DASH couldn’t have some tutorials on the major cloud providers: AWS, Azure, GC, etc. I understand web servers are a difficult technology. GREAT! But it doesn’t matter how powerful the DASH app is if I have to be a Linux server expert to get it deployed and useful to others. The beauty of DASH is that it allows me to work in Python and not have to get my hands dirty with Javascript. (I have been able to do it, but it has issues). My point is that it has been very difficult for me to deploy my DASH app on a Linux machine and it seems many share the same frustrations. But what if I don’t want to wait a minute or so every time a Heroku app complies. I also understand that deploying as a Heroku app works. I understand that if I was an Enterprise customer of DASH they’d take care of this stuff for me. Since my first Medium article about DASH (no help there), I’ve been working on part #2 where I automate data collection and then serve up the DASH app on an Ubuntu server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |