Тёмный

[new] Share your Dash App with Others on the Web - Render 

Charming Data
Подписаться 41 тыс.
Просмотров 16 тыс.
50% 1

In this video I'll show you the easiest and fastest way to deploy your app to the web, using Dash Tools by Andrew, a Plotly community member.
Join the Community:
charming-data....
The Code:
github.com/Cod...
The app:
dot-offering-s...
Render for Deployment:
render.com/
Dash Tools:
pypi.org/proje...
Plotly Dash Forum:
community.plot...
The Book of Dash:
nostarch.com/b...
************************************************************************
👉 Your support keeps Charming Data running, which is proudly a 100% member-supported educational channel:
Patreon: / charmingdata
GitHub: github.com/spo...
RU-vid: / @charmingdata

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 158   
@CharmingData
@CharmingData 7 месяцев назад
Join the Charming Data Community -- charming-data.com/ -- to learn more data viz, data apps, and AI integrations.
@frankfnl
@frankfnl Год назад
Thanks Adam! This worked like a charm. Cannot believe how much I've used your videos over the past few years,
@mbj896
@mbj896 Год назад
I rely on these types of tutorials to fill in the gaps between written documentation and actual deployment, and your tutorials are very good! It would also be very interesting if you could put up a tutorial for deploying a Dash app to a WordPress site, given that that is such a common platform for websites.
@CharmingData
@CharmingData Год назад
Thank you for the suggestion :)
@thomashouweling6450
@thomashouweling6450 7 месяцев назад
Great video! Thank you so much for the clear explanation! I come from data science and my knowledge of programming is suboptimal at best. Deploying dashboard apps has always been my nightmare and I was struggling getting my latest app to run due to an endless series of package incompatibility issues. Dashtools and your video allowed me solve the issue instantly and effortlessly. Thank you so much! I hope you'll keep up the amazing content!
@CharmingData
@CharmingData 7 месяцев назад
you're welcome Thomas. I'm glad the video was helpful. Just be mindful of Dashtools. I'm not sure how often it's been maintained. The last update was from October. Hopefully, it continues working for many years, but keep an eye out. I just created another video showing how to upload an app to the web with Render. This one is without Dashtools in case you ever need it: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-q8eBNLc057c.html
@OsvaldoPereira-tj8tp
@OsvaldoPereira-tj8tp Год назад
Thanks for the tutorial! Woked like a charm for a heavy dash app with maps and charts!
@shoemakerleve9
@shoemakerleve9 Год назад
Thanks for the video Adam! I had fun working on this project and am looking forward to hearing feedback from the community.
@bryantai5667
@bryantai5667 7 месяцев назад
Extremely informative video on how to deploy and update the web app. Clear and concise. Thanks!
@zulfiiaditto4026
@zulfiiaditto4026 Год назад
I am so happy to see your videos :) I learned so much, thanks to you and your channel :) After one year of break, I decided to return and master my viz skills! Thank you for keep doing it!
@CharmingData
@CharmingData Год назад
That's great news, @zulfiiaditto4026. Welcome back. Have you built anything with Dash yet?
@MahadiHasan-qi1cb
@MahadiHasan-qi1cb Год назад
I was about to request you to post a video like this one! but you already did. wonderful. you're the best Adam.
@ivanliu1173
@ivanliu1173 Год назад
Hi Adam, Thanks for this informative video. I can use render now in place of heroku. With your clear explanation, I could deploy my app easily. Thank you very much.🙂
@CharmingData
@CharmingData Год назад
You're welcome. I'm glad it was helpful.
@cancella
@cancella 2 месяца назад
Flawless. Easiest deployment tutorial🙌🙌
@rubyhu3139
@rubyhu3139 Год назад
Thanks for introducing Render, has been very helpful! However, I think you left out an important part which is to choose the server region. Mine was stuck at deploying for more than an hour (and still running as I wrote this comment...) if done through dash tools, but I restarted another deploy directly on Render's website and chose the correct region (in my case, Singapore), and it was up and running within 5 mins. For dash tools the default region seems to be Oregon so anyone outside US West might face the same problem as I did.
@CharmingData
@CharmingData Год назад
Thank you. I just pinned a comment about this.
@phillipnorris627
@phillipnorris627 11 месяцев назад
Thanks for an awesome series of videos. Along with your book, which I started with, they have been so helpful.
@CharmingData
@CharmingData 11 месяцев назад
Thank you Phillip
@hasankamkar8331
@hasankamkar8331 Год назад
Hello Thanks for the great video. I just have a question about the folder structures when we have multiple .py files + .csv files + .css files and .png files in out application. In the video you mentioned that the main app.py file should be located in the src folder, but where do we need to put the rest of files that have been used in the dash app? Thank you so much in advance for answering my question.
@CharmingData
@CharmingData Год назад
hi Hasan, Here's a great post about structuring a Dash app. community.plotly.com/t/structuring-a-large-dash-application-best-practices-to-follow/62739
@user-qr4he6sm9p
@user-qr4he6sm9p Год назад
Your Dash tutorials are gold, thanks for all these infos!
@CharmingData
@CharmingData Год назад
You're welcome.. thanks for watching
@omrahulpandey
@omrahulpandey Год назад
Nice tutorial, very useful. It would be very interesting if you could put up a tutorials for: 1. Embedding the plotly dashboards on webpages/websites like the ones we see on news portals during elections. 2. Also which camera and tools are you using for the video😄.
@CharmingData
@CharmingData Год назад
Hi, thanks for the suggestion. What do you mean embed dashboards on webpages? Dash app is a web page. I use Logitech camera and filmora video editing
@armandogonzalez4404
@armandogonzalez4404 Год назад
​@@CharmingData I think he means cssing the webpage so that the visual display is nice ^^ with its html code, its graphs and everything :)
@yenhunglin2387
@yenhunglin2387 Год назад
Great tutorial and instructor. Thank you for sharing🎉
@CharmingData
@CharmingData Год назад
Thank you for watching
@PedroSouza-fj2fo
@PedroSouza-fj2fo Год назад
It would be nice to make a tutorial for deploying a dash app to a local server.
@duco14
@duco14 Год назад
Thank you for your beautiful tutorial Adam! One question: is it also possible to deploy an Dash app with multiple pages using Render?
@CharmingData
@CharmingData Год назад
Yes it is 🙂
@geeksy2278
@geeksy2278 Год назад
Thank you very much! This will be super helpful! Which tool do you use to record your screen?
@CharmingData
@CharmingData Год назад
I use filmora film recorder. filmora.wondershare.com/screen-recorder.html
@AAStories.
@AAStories. 4 месяца назад
thank u man, for real
@TalesIncs
@TalesIncs Год назад
Thank you again!
@exlonkgil6465
@exlonkgil6465 Год назад
I love your videos, maybe some day you can do a video about the jsme tool to draw molecules in dash,. Thanks for all !!
@giolendius
@giolendius 4 месяца назад
I love you!
@marcsand87
@marcsand87 Год назад
Hi! Want to start by thanking you Adam for your videos, I'm also going to order your new book! :) And now to my question: Is there any way of doing this while having your GitHub repo _private_ instead of public?
@CharmingData
@CharmingData Год назад
Hi @marcsand87. It appears that private repos are also possible. render.com/docs/github
@saraili3971
@saraili3971 Год назад
Thank you Adam. It' s so updated and helpful.
@Hybritor
@Hybritor 6 месяцев назад
Thanks for the excellent tutorial! Everything was laid very clearly to deploy a dash application. I do have one question though: how do you obtain your DeployWithRender folder that you src/app is in? do we just make our own in our venv? thanks for any help!
@CharmingData
@CharmingData 6 месяцев назад
Not sure I understand the question. Is this the folder in the github repo?
@Hybritor
@Hybritor 6 месяцев назад
@@CharmingData @ 1:00 you mention the app.py is in the Deploy with Render Folder, my question is how do I get to that point after creating a working dash app? Thanks for the help!
@CharmingData
@CharmingData 6 месяцев назад
HI@@Hybritor yes, I just made that folder on my windows machine and called it DeployWithRender, then I created the src folder, and then I made the app.py file and entered the Dash code into that file.
@bukunmiadebanjo9684
@bukunmiadebanjo9684 Год назад
Wish I could give this multiple likes. Thank you!!
@WayneBruton
@WayneBruton Год назад
Nice tutorial, thank you Adam. Quick question, is render just slow or is it Dash?
@CharmingData
@CharmingData Год назад
hi @WayneBruton it's render. Supposedly it speeds up with a paid tier. Dash is fast
@WayneBruton
@WayneBruton Год назад
@@CharmingData Thank you Adam
@WhiteLemon_Official
@WhiteLemon_Official Год назад
Wow great help, can i request guide for deploy in aws ec2?
@CharmingData
@CharmingData Год назад
Please attention to the region chosen. Thank you @rubyhu3139. It's important to choose the server region. Mine was stuck at deploying for more than an hour (and still running as I wrote this comment...) if done through dash tools, but I restarted another deploy directly on Render's website and chose the correct region (in my case, Singapore), and it was up and running within 5 mins.
@AIdevel
@AIdevel Год назад
Hi brother Adam could you please make a video about special features on dash such as the camera cos I need to know them so that I can develop my computer vision project using dash
@user-qr4he6sm9p
@user-qr4he6sm9p Год назад
I just had this problem: the region should be specified inside the render.yaml file (not on Render)
@karelvandenhende6801
@karelvandenhende6801 5 месяцев назад
@@user-qr4he6sm9p How would that work specifically? I added a line with 'location: Frankfurt', but it does not seem to be the correct term. Thanks!
@user-qr4he6sm9p
@user-qr4he6sm9p 5 месяцев назад
@@karelvandenhende6801 It's not 'location', it's 'region'! Modify it with 'region: frankfurt' and it sould be ok . Note, frankfurt should be with lowercase :) Let me know if it works PS. Please Adam pin this comment so it can reach many others :)
@petarkoljensic7823
@petarkoljensic7823 7 месяцев назад
How could I deploy data used in the script? Making a folder 'data' and placing it in GitHub too?
@AIdevel
@AIdevel Год назад
Hi brother Adam could you please make a video for us about the special features on dash such as the camera 📷 cos I need them in my computer vision projects Thanks
@InteligenciadeNegocios
@InteligenciadeNegocios Год назад
Good Afternoon Adam I would love to see a video where you deploy an excel file on render. I have tried it several times without success :( Thank you for all
@CharmingData
@CharmingData Год назад
hi there, to deploy an app that uses an excel file, try to organize your files this way: Root folder ----src folder -------data folder -----------the excel file -------init.py file -------app.py ----Procfile ----requirements
@CharmingData
@CharmingData Год назад
Make sure you can read your excel file into a pandas dataframe before deploying. I think you need to download the openpyxl lirbrary. And include that in the requirements.txt file so that Render knows it needs to install that as well when deploying.
@InteligenciadeNegocios
@InteligenciadeNegocios Год назад
@@CharmingData thank you Adam, i really appreciate your help! Thank you, have a nice day
@saraili3971
@saraili3971 Год назад
Btw, it seems Deta is another alternative to Heroku. Would you be interested to check it out? The docs look a bit confusing to a beginner like me. 😄 Happy 2023!
@CharmingData
@CharmingData Год назад
Thanks for sharing that with me.
@WayneBruton
@WayneBruton Год назад
@Charming Data Hi Adam, Completely off topic but I am not sure if you check out comments on some of your older posts. I have quick question on Chloropleth Maps. Is it possible to import your own topojson file into plotly say for a region not part of the standard maps in plotly. For example, say South Africa and all its provinces (States)?
@CharmingData
@CharmingData Год назад
Hi @waynebruton, Yes, that should be possible. I think there are examples of that on the Plotly forum
@InteligenciadeNegocios
@InteligenciadeNegocios Год назад
Good Afternoon Adam. I tried to deploy my app but i got the following error; AttributeError: 'Flask' object has no attribute 'before_first_request'. Did you mean: '_got_first_request'? Maybe you know what i missing? Thank you :)
@CharmingData
@CharmingData Год назад
Hello, What if you try to install flask version 2.2.4 github.com/DataDog/dd-trace-py/issues/5671
@InteligenciadeNegocios
@InteligenciadeNegocios Год назад
@@CharmingData thank you for your prompt response. I will try it. Thank you
@srinivasaprasad6003
@srinivasaprasad6003 11 месяцев назад
Hi Adam, am looking for help in deploying Python Dash application in Azure. any such video is available, please share. thanks!
@Idkaboutthis78
@Idkaboutthis78 10 месяцев назад
Hi, how do I get render to recognise the "assets" folder which contains custom.css and images?
@lucaschiqui
@lucaschiqui 3 месяца назад
Hi Adam, this worked for me, but what happens if your app is going to be used by more than 100 people? Should you choose a payment subscription of Render?
@CharmingData
@CharmingData 3 месяца назад
hi Lucas, yes, a payment subscription would be best. But make sure you talk to Render about scalability, especially if many people will be using the Dash app at once. For example, if 10 people are clicking the same dropdown, triggering the same callback, they would have to wait in line to gain access to the callback, depending on how many workers you have set up.
@lucaschiqui
@lucaschiqui 3 месяца назад
@@CharmingData thanks, I'll contact to the team of render!
@FPLMundo_Mini_League_Newspaper
Thanks Adam! I would love to know what you see as the pros/cons of Render vs PythonAnywhere vs Heroku from a Dash app perspective. ( My background is I previously used pythonanywhere as per your excellent video, but my new app has some Async modules which do not seem to be compatible. I signed up to Heroku but then found they do not have local storage. Maybe Render will be the one !)
@MrAfrokiss
@MrAfrokiss Год назад
Thanks for this vidéo. Merci beaucoup!!!👍
@harmalhusen6887
@harmalhusen6887 Год назад
I loved this tutorial, thank you so much! One question: do you know any solution for how to add a simple Login-Page for users? I wouldn't want my Dash App to be public yet. I would either like to invite people by e-mail or create a login for them.
@CharmingData
@CharmingData Год назад
Adding a log in page is not a simple matter. But if you deploy your app with pythonanywhere they offer a built-in username and password for the app that you can share with your users. Only one username and password to enter the app.
@andersoncanteli
@andersoncanteli Год назад
Thank you so much Sir!
@CharmingData
@CharmingData Год назад
You're welcome. Thanks for watching
@ferranbadia3122
@ferranbadia3122 Год назад
Hello, awesome content. I'm starting to learn to visulize data qith python and these videos are sooooooo helpful, thanks a milion. One question, if I have a .env file with my authenticate data which I dont wanna push to github it will be possible create a web service like that?? Thank u again
@CharmingData
@CharmingData Год назад
Sure. Just write in your gitignore file the .env so it doesn't get pushed.
@huum4430
@huum4430 Год назад
Hello, I saw your video about how to add password to our dash, and the example was with heroku. How can I do the same with render?
@PankajThakur-jq1td
@PankajThakur-jq1td Год назад
Hi @Charming Data ! Thanks for your tutorial. I have built some visualization with dropdowns in plotly using jupyter notebook and the data of that viz will be refreshed every week. How should I deploy this vizs so that if I will share the link they will have the access of vizs only. Thanks in advance!!
@marialetiziafasci9358
@marialetiziafasci9358 Год назад
Thank you for the great video! I would like to create an app that uses my own data stored in a file. Where should I store the file?
@CharmingData
@CharmingData Год назад
On a csv sheet is best
@marialetiziafasci9358
@marialetiziafasci9358 Год назад
@@CharmingData Got my first app with my own data available online *.* Thank you so much for the great video!
@wiztech2732
@wiztech2732 8 месяцев назад
I can not see Quick Setup in Github at 6'12. It does not come up automaticaly. How I can get those code for creating new resitory on the command line?
@CharmingData
@CharmingData 8 месяцев назад
hi @wiztech2732 . I don't think Dash Tools is up to date anymore. Try deploying your app to the web on render with this video tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H16dZMYmvqo.htmlfeature=shared
@wiztech2732
@wiztech2732 8 месяцев назад
Thanks@@CharmingData
@nenlepi4888
@nenlepi4888 Год назад
thanks for the great tutorial! i was successfully able to deploy my dash app, but certain features don't work properly. the hover effect on some of the visualisations (like choropleth and bar chart) do not work, and the bootstrap css styling does not load at all. how do i fix this issue?
@CharmingData
@CharmingData Год назад
make sure you declare the bootstrap script inside app = Dash(__name__).
@Sebastian-xw3zh
@Sebastian-xw3zh Год назад
Hello Adam and thank you for your videos, how can I add google analytics to my dash app? I have tried one solution that embeeds it in an html.Script inside the app.layout but it doesn´t seem to work
@CharmingData
@CharmingData Год назад
Hi Sébastian, I've never done that..I'm really not sure.
@farahnazjafari
@farahnazjafari 9 месяцев назад
"Hi, I am looking for a video tutorial on how to deploy my Dash app privately on a section of my website's server, preferably with the option to set up a username and password. Please guide me."
@richardkiy4048
@richardkiy4048 Год назад
If I wanted to add user profiles where people can log into accounts is this only available as an enterprise feature or is there another way I could do this?
@CharmingData
@CharmingData Год назад
Hey, I'm sure it's possible to figure out how to do it with open source libraries. But it's pretty complicated. Dash Enterprise offers this.
@emanbap
@emanbap Год назад
Hi! Thanks for the video. Do you know if you can deploy a Dash app on Wordpress? I've tried to put just a static plotly . But would it be possible to put an actual app? It would be great a tutorial about it :)
@CharmingData
@CharmingData Год назад
I'm not sure..I don't think so, but if it's possible, I'll gladly make a video on it. Let me know if you find out before me 😉
@alzbetahurova5606
@alzbetahurova5606 5 месяцев назад
Hello, is it possible to install R on render? I have rpy in my requirements (because I want to generate report in R after button is clicked) but the deploy fails on "Error: rpy2 in API mode cannot be built without R in the PATH or R_HOME defined. Correct this or force ABI mode-only by defining the environment variable RPY2_CFFI_MODE=ABI" Did anyone solved it?
@CharmingData
@CharmingData 5 месяцев назад
Not sure, sorry. I never tried installing R on render. I work in Python.
@leannalo6798
@leannalo6798 Год назад
Thank you! I am following along and sucessfully pushed the files to github, but the 'Project Requirement: Pushed to GitHub' deployment requirement is not showing the green checkmark. Any thoughts as to why?
@CharmingData
@CharmingData Год назад
It's hard to say. Check if you have installed latest version of dash-tools. Make sure to push your repo to github through the command line or pycharm terminal, rather than copying the files (drag and drop) directly into the repo.
@alzbetahurova5606
@alzbetahurova5606 8 месяцев назад
I had similar issue. Path to my project included white spaces. For me, replacing the with spaces with underscores, solved the issue. Maybe you also have whitespaces in the project path?:)
@LuisLopez-sc1qc
@LuisLopez-sc1qc 3 месяца назад
deberian enseñar publicar en azure este dash seria genial
@padula77
@padula77 Год назад
Hi Adam, thanks for the video, I am unfortunatley stuck with 'git init'. can you describe the steps needed once I have installed 'Git'..what I have to do.? because now when I write 'git init' from my terminal I got an error. like the command is not reconized..
@CharmingData
@CharmingData Год назад
hi Carlo, I had that happen to me once. I had to reinstall git on my computer and it worked.
@GorostiMantxo
@GorostiMantxo Год назад
Thanks for the video, was really helpful and I could deploy my app However, I'm using and upload button where the user will select the excel file to do the analysis on. For some reason I have not been able to make it work in the deployed version of the app (works fine when running local). I'm trying to load it by using the following code (from the dash web): content_type, content_string = contents.split(',') decoded = base64.b64decode(content_string) df = pd.read_excel(io.BytesIO(decoded)) and the last line seems to fail for some reason I don't comprehend. Am I missing something or why doesn't this work in the web when it works on my local computer? Thanks in advance
@CharmingData
@CharmingData Год назад
hi, can you please ask this question as a new topic on the Plotly Forum and let me know when you post it. community.plotly.com/ I think there could be a few people I know there that could help you.
@mackas33
@mackas33 Год назад
Hi, I don't know if it's on my end or if the video is blurry.
@CharmingData
@CharmingData Год назад
I tested it and I see it clear on my end.
@jorisdeleeuw9665
@jorisdeleeuw9665 Год назад
Hey Adam, thanks for the tutorial! I have to login when I try to create a new repository on the command line. And my login doesn't work... How come you do not have to insert your username and password when doing this?
@CharmingData
@CharmingData Год назад
Are you using dash Tools and it's requiring you to log in?
@ianbenjamin1865
@ianbenjamin1865 Год назад
PLS help, i did everything in the video and my app when i run it works but when i click the button it runs an algorithm that calculates some data then it doesn't fill the DASH table, i don't know if it's because i have 4 files in the src folder, but I don't know how to find the error, the code works fine locally
@CharmingData
@CharmingData Год назад
If it runs locally but doesn't run on render, it's probably because the app on render is not able to read the files from the src folder. Can you make your app structure like this and try again? MyApp |── src | |-- app.py | └── ... └── data └── YourCsvFileName.csv
@ianbenjamin1865
@ianbenjamin1865 Год назад
@@CharmingData I have that structure but the same thing keeps happening to me, the app starts and it seems to work but when I start to use it it doesn't fill the tables that it has to fill. Do I have any way to see step by step what is happening in the code that does not work well in render?
@ianbenjamin1865
@ianbenjamin1865 Год назад
I put all the files together in one and it continues to work fine locally, but the problem is when I load it in render, it doesn't comply with the dash callbacks, it seems to me and that's why it doesn't update the table
@CharmingData
@CharmingData Год назад
@@ianbenjamin1865 I think it has to do with the way that render reads data files
@manthanmistry1205
@manthanmistry1205 5 месяцев назад
Is the process same for multi page dash app deployment?
@CharmingData
@CharmingData 5 месяцев назад
It should be similar
@kinectintell
@kinectintell Год назад
Hi, will this also work for multipage app and with a link to external database?
@CharmingData
@CharmingData Год назад
Hi, it should
@user-jy6tf5dg1c
@user-jy6tf5dg1c 9 месяцев назад
Thank you, man. Great tutorial. But does anyone in the comment section have this error on the log panel: "raise exceptions.NoLayoutException( dash.exceptions.NoLayoutException: The layout was `None` at the time that `run_server` was called. Make sure to set the `layout` attribute of your application before running the server. " ? I get this error even though I set the app.layout = html.Div(etc). I replaced the bootstrap components with plain html and css, but it still does not work :( How can I deploy it properly without this error? Thank you
@CharmingData
@CharmingData 8 месяцев назад
Does it tell you on what line of code the error was generated?
@smokinginthefishroom
@smokinginthefishroom 9 месяцев назад
I keep getting an error of dashtools: command not found after installing dashtools after successfully installing. Can anyone help me?
@CharmingData
@CharmingData 9 месяцев назад
What kind of error do you get?
@emadahmed2652
@emadahmed2652 8 месяцев назад
+ dashtools gui + ~~~~~~~~~ + CategoryInfo : ObjectNotFound: (dashtools:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I am using VS studio and it gives me that@@CharmingData
@johanloango7362
@johanloango7362 11 месяцев назад
Thanks a lot Adam, I have this error - FileNotFoundError: [Errno 2] No such file or directory:
@CharmingData
@CharmingData 11 месяцев назад
hey there, When do you get that error? Can you provide more information please.
@AIdevel
@AIdevel Год назад
Hi Adam does render offer this deployment service for free ?
@CharmingData
@CharmingData Год назад
yes, it does.
@christellecornu1039
@christellecornu1039 Год назад
Render will, as Heroku, soon not free available. Is ther's any other solution ? Moreover how the app manage with mathplotlib ? Thanks for you videos
@CharmingData
@CharmingData Год назад
I don't think that's completely accurate. I saw that render will raise their costs but they promised to keep their free tier. If you saw otherwise, can you please share the link that says they will stop offering a free tier.
@christellecornu1039
@christellecornu1039 Год назад
@@CharmingData thanks for your quick answer. It will be ok if they still have a free tier. I tried to push my app but I get this message : FileNotFoundError: [Errno 2] No such file or directory: 'data/df_clean_newport.csv' In the scr, I have a data folder with the dataset, a pages folder with the 3 pages and the app
@WayneBruton
@WayneBruton Год назад
@@christellecornu1039 Hi, I am getting the same error
@WayneBruton
@WayneBruton Год назад
I managed by connecting to the raw data on GitHub
@celestinhakizimana3424
@celestinhakizimana3424 Год назад
Hi Adam, i tried all the steps and at the end i got message of failed to deploy. any help i got the message: Deploy failed for c29af32: add all my app files
@shoemakerleve9
@shoemakerleve9 Год назад
Are you able to view the Render logs for your deploy? There might be some more information there.
@celestinhakizimana3424
@celestinhakizimana3424 Год назад
@@shoemakerleve9 what do you mean by render logs?
@dikshitsuvarna3011
@dikshitsuvarna3011 Год назад
Looking at Your few quite dash tutorials just made a Dashboard, but I am not able to share the link here.. since youtube will delete comments if I add an external website link😅
@CharmingData
@CharmingData Год назад
I'd love to see your dashboard. You can send it to adam@charming-data.com
@italobuitron1165
@italobuitron1165 Год назад
It's necessary to be public?
@CharmingData
@CharmingData Год назад
I don't think so, Italo.
@italobuitron1165
@italobuitron1165 Год назад
@@CharmingData I deployed my app, don't need to be public. Thx for the guide!!! Love it!
@CharmingData
@CharmingData Год назад
@@italobuitron1165 Congratulations :)
@valentinteruggi4251
@valentinteruggi4251 6 месяцев назад
Hello! I have my app.py in the following directory Project/src/app.py. I did install dashtools in the project directory (Project), however every time I want to use the dashtools command (for example, dashtools gui or run). It displays an error saying that the the command is not found (dashtools). Error: dashtools : The term 'dashtools' is not recognized as the name of a cmdlet, function, script file, or operable program. Any solution?
@CharmingData
@CharmingData 6 месяцев назад
Sorry, I'm not sure. Dashtools hasn't been updated by the author in a while, so there might be bugs there.
@rahulmadhusudannambiar7250
@rahulmadhusudannambiar7250 Год назад
Hi Adam, Thank you for the informative video. My question is regarding enviromnment variables. I have an api key which I am passing as an an environment variable(in the environment). Later in the source code, I call the api via os.environ.get('api-key'). Not only api key, the data from the api key is stored in to a database and the credentials to this post gres sql database is also passed via environment variable. In the data visualisation, I use sqlAlchemy as an engine to access this database. But sqlAlchemy throws an error: "sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "None" to address: Name or service not known" The above error tells me that the os.environ.get('api-key') is giving a none as a outout. Wondering if you or any one have come accross this error.
@CharmingData
@CharmingData Год назад
Hi Rahul, no i have never came across this error. I'm not sure. Hopefully someone else here can help.
@rahulmadhusudannambiar7250
@rahulmadhusudannambiar7250 Год назад
@@CharmingData Thank you. I tried passing these variables directly by hard coding it to the code. It works fines and gets deployed. I guess its something to do with render that is unable to access the environ variables.
@user-dp6dh1yn3c
@user-dp6dh1yn3c 9 месяцев назад
Hello! thank you for the tutorial, I have successfully deploy my app. However, when I click the button which pulls data from pg admin (connects to google cloud postgres), it gives me the error: [2023-11-29 22:44:13 +0000] [49] [CRITICAL] WORKER TIMEOUT (pid:62) Nov 29 02:44:15 PM[2023-11-29 22:44:15 +0000] [49] [ERROR] Worker (pid:62) was sent SIGKILL! Perhaps out of memory? Nov 29 02:44:15 PM[2023-11-29 22:44:15 +0000] [63] [INFO] Booting worker with pid: 63 Could you provide osme insight onw hat this means? thank you!!
@CharmingData
@CharmingData 9 месяцев назад
That error could mean a few things. One option is that your calculation is taking more than 15-30 seconds, in which case Render will call a time out and de-active the app
@user-dp6dh1yn3c
@user-dp6dh1yn3c 9 месяцев назад
@@CharmingData got it. thank you so much for the help. I have increaes the time out to 1800 seconds and it worked
@scolippi4318
@scolippi4318 5 месяцев назад
​@@user-dp6dh1yn3cHi, seems that I have a simmiliar problem. Could you tell me where did you increase the time out? I can't find any information about this. Thanks in advance!
@user-dp6dh1yn3c
@user-dp6dh1yn3c 5 месяцев назад
@@scolippi4318 You can go to settings and use this gunicorn main:server -t [time1] --keep-alive [time2]
@user-dp6dh1yn3c
@user-dp6dh1yn3c 5 месяцев назад
@@scolippi4318 do you still need help?
Далее
Deploy Python App to the Web with Password
6:37
Просмотров 1 тыс.
Faites comme moi
00:14
Просмотров 1,4 млн
Understanding File Paths
12:24
Просмотров 24 тыс.
Build and Deploy your Multipage App with Dash Plotly
52:42
Sharing Data between Dash Callbacks
20:19
Просмотров 20 тыс.
The Dash Callback -  Input, Output, State, and more
26:55
App Username and Password - Dash Authentication
15:29