Deploy your First App with Heroku and Dash Plotly

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 377

  • @oiuchi
    @oiuchi 4 года назад +45

    My friend, You deserved more subscribers! Best tutorials on RUclips about dash and plotly!Thanks for you work and dedication!

    • @CharmingData
      @CharmingData  4 года назад +1

      Thank you. I appreciate your support

    • @CharmingData
      @CharmingData  4 года назад

      Hi Игорь, I'm trying to gather more supporters to create higher quality educational tutorials on Dash 👨🏽‍🏫 My goal is to reach my first 15 supporters, and it would mean a lot if you were able to support me 😊 www.patreon.com/charmingdata
      You were one of my first supporters, and I'll always be thankful to you for that 🧡

  • @ShashankData
    @ShashankData 3 года назад

    I spent hours trying to deploy my Dash app onto AWS and couldn't get it to work until I watched this tutorial. You're a godsend thank you so much for the VERY clear instructions.

    • @CharmingData
      @CharmingData  3 года назад

      You're welcome Shashank. Would love to see a link of the dashboard you create, if you can share. Feel free to email me if this is not something you can share publicly: info@charmingdata.org

    • @ShashankData
      @ShashankData 3 года назад +1

      @@CharmingData Thank you so much for the response! I actually can't show it at all because it's for a client but here's something I did with Streamlit which I followed your instructions to deploy onto AWS EB. Thank you for being such an inspiration: ruclips.net/video/_wPlxZCaS-Q/видео.html

    • @CharmingData
      @CharmingData  3 года назад +1

      @@ShashankData very nice. congratulations

  • @adrimoreno19
    @adrimoreno19 4 года назад +4

    Hi Adam!
    Looks like you are one of the few people in the programming world that cares about working on Windows machine, you literally saved me hours of reading and translating tutorials lol
    Thank you so so so much for this.
    I´m a fan! you have a great channel

    • @CharmingData
      @CharmingData  4 года назад

      Thank you @Adriana. I'm glad my tutorials have helped you. If you have any questions, feel free to write me at info@charmingdata.org
      And if you'd like to support the existence of this channel with a couple of cups of coffee per month :) you can do so here:
      www.patreon.com/charmingdata

  • @RachelHowden
    @RachelHowden 3 года назад +3

    Just wanted to thank you for some amazing tutorials and walkthroughs. You helped me get a dashboard for work up and running online (with no prior experience) so quickly!

    • @CharmingData
      @CharmingData  3 года назад

      You're welcome, Rachel. I'm glad you got it deployed. Would love to see it if you'd like to share. Feel free to either post it here or email me: info@charmingdata.org

    • @RachelHowden
      @RachelHowden 3 года назад

      @@CharmingData Will do! I just signed up for your Patreon and emailed you about the dashboard

    • @CharmingData
      @CharmingData  3 года назад

      @@RachelHowden Thank you for supporting me Rachel :) I just emailed you back.

  • @arissidiropoulos9400
    @arissidiropoulos9400 4 года назад +1

    One of the best tutorials. Thank you. You are very specific about everything which is hard to find. You left me with no blank spots whatsoever. I hope you keep making videos like this.

  • @alejandragutierrez1709
    @alejandragutierrez1709 3 года назад +1

    I just made the app work and I didn't believe it would work!!! Thank you so much!

  • @AadidevSooknananNXS
    @AadidevSooknananNXS 3 года назад +1

    Dudeeeee, this was sooooo well explained! And the fact that you literally copy-pasted so that you could explain WHY you were doing certain things, instead of focusing on individual statements made this so much better to follow! Definitely getting a subscribe

  • @kristiinajoon845
    @kristiinajoon845 2 года назад +1

    As you say at the start, you really have saved me hours and hours and hours of reading, thanks!

  • @paulb730
    @paulb730 2 года назад +1

    Thanks to you I finally ended my thesis

  • @johnanih56
    @johnanih56 4 года назад +5

    Thank you so much again for this, I am already at the finish line. You made it available at the right time. Great job, Adam!

  • @ramon421
    @ramon421 3 года назад

    My many thanks to you! I tried to search several videos and guides on the internet, but none worked. Yours worked just fine! I even did some mistakes in the code and had to adjust and deploy again. So, your end of the video was very helpful as well!! Thank you!!

    • @CharmingData
      @CharmingData  3 года назад

      you're welcome Ramon. I'm glad you got it.

  • @andrey_m0s
    @andrey_m0s 2 года назад

    Extremely helpful video. I spent tons of hours without success before watching your video. Thank you!

  • @shamalsave5153
    @shamalsave5153 3 года назад +1

    Thank you for uploading this video with the proper step-by-step procedure. beautifully explained.. no chance for misunderstanding and confusion :)

  • @patrickjane276
    @patrickjane276 4 года назад

    I've watched several of your videos - and a. they're great. I'm watching one right now trying to deploy a dash app I built in Heroku - getting so many issues so finally watching some videos to see what I'm doing wrong, but b I feel so bad for you man - I hear you talking and I know your nose is killing you. Doesn't sound like you can breathe much at all through your nose. Just wanted to say - I literally had nose surgery last week - I had a septoplasty - and it sucked for a couple days - while the stints were still in my nose, but on day 3 pretty much it was manageable. I'm on day 7 now and I can breathe pretty much just fine. I had a deviated septum for like 20 years and finally I got it fixed. the whole operation cost me 2600 bucks. I do have good insurance though - that's 20% of what it cost - which was what I owed for it after insurance. Go get it done if this sounds like you! Ping me here if you want - I can tell you all about it. Anyways - back to watching this tutorial. Thanks for making it by the way. Heroku pisses me off.

    • @CharmingData
      @CharmingData  4 года назад

      Thanks for sharing, Max. I'm glad you liked the video.

  • @christinagousi1877
    @christinagousi1877 4 года назад +1

    Thank you so much for this video!! I read so many articles on how to do the exact same thing and there were always errors! then I watched your video and I did it in 5 minutes. Thank you so much

    • @CharmingData
      @CharmingData  4 года назад

      You are welcome, Christina. Thanks for watching. Keep an eye out for the next tutorial. It's going to be on setting up dash with jupyter lab

  • @sumanthnaidu9598
    @sumanthnaidu9598 3 года назад +1

    *This is the only one helped me a lot to deploy my dash app. Heartly Thanks To You* 🤝

  • @faustoblascopisador571
    @faustoblascopisador571 3 года назад

    Thanks a lot for the tutorial and the guide. I've just deployed on Heroku one dashboard I had already developed with Dash. Following your guide and tutorial it was straight forward. You saved quite a lot of my time. Thanks for that!

    • @CharmingData
      @CharmingData  3 года назад +1

      You're welcome, @Fausto. I hope you keep learning many things about dash Plotly. If you have any questions, let me know

    • @faustoblascopisador571
      @faustoblascopisador571 3 года назад

      @@CharmingData Hi! I have indeed a question that could be maybe interesting for many people.
      I’ve run into a common problem with my dashboard in Heroku which is is the R14 error (Memory quota exceeded). I’ve tried to reduce as much as possible the dataframes but it seems there is a minimum amount of memory needed to load the data and generate the plotly figure objects.
      What would be your advice in this case?
      Thank you!

    • @CharmingData
      @CharmingData  3 года назад

      @@faustoblascopisador571 hi @Fausto, that is common. Unfortunately, heroku free account limits you to 500mb. You would have to upgrade to the basic paid account is you can't find a way to make your app smaller in size.
      I don't know of any other platform that allows more space on a free account, but I'm sure one exists. Is anything knows, please share with @Fausto and I.

  • @isaacvergara6792
    @isaacvergara6792 3 года назад

    Came in clutch! Already a Patreon member, keep it up!

    • @CharmingData
      @CharmingData  3 года назад

      Thank you @Issac 🙏 I wrote you on Patreon

  • @JoseRodriguez-xf4cv
    @JoseRodriguez-xf4cv 2 года назад

    Dude, your videos are amazing! I was digging online for hours on how to deploy my dashboard. I got it done by watching your video just once! Keep up the good work. I am definitely considering joining your subscription if I find myself with a job that requires me to build these awesome dashboards. Cheers!

  • @manuelcorsetti
    @manuelcorsetti 4 года назад +1

    Thank you so much for all your tutorials, by far thebest resource on Dash I have found anywhere!

    • @CharmingData
      @CharmingData  4 года назад

      Thank you Manuel. I hope you get to build powerful Dash apps 👍🏼

  • @ygbr2997
    @ygbr2997 4 года назад

    your tutorials basically saved my data visualization course 😂, thank you

    • @CharmingData
      @CharmingData  4 года назад

      You're welcome Yifei, I'd love to see the analytic web app that you built. Info@charmingdata.org
      If you have any questions with other Dash components, let me know.

  • @sungatiseev9590
    @sungatiseev9590 4 года назад +6

    00:00 - Introduction
    01:29 - Sign up for Heroku account
    03:42 - Install Heroku CLI
    04:44 - Create App project folder on your IDE
    08:59 - Install necessary App project libraries
    11:08 - Create necessary files for Heroku server
    14:29 - Deploy App to Heroku
    17:48 - Redeploy and fix them bugs

  • @vascoarizna
    @vascoarizna 2 года назад

    Congrats for this video! You have summarized what would have costed me hours of pain. Thanks!

  • @tempura_edward4330
    @tempura_edward4330 3 года назад

    Sir, I really like your videos and your sense of humor! 😆
    BTW I was able to make my first dashboard very successful after watching your videos! You really made my life easier and better! Thank you 🙏

  • @antoniogabrielp.v.1221
    @antoniogabrielp.v.1221 2 года назад

    Olá Adam,
    Acabei de fazer meu primeiro deploy de um projeto graças ao seu vídeo.
    Muito obrigado!

    • @CharmingData
      @CharmingData  2 года назад

      You are very welcome, Antonio. Did you deploy your project on Heroku's free tier?

  • @musicalrea5433
    @musicalrea5433 3 года назад +1

    This video is awesome! It helped me deploy my first dash app!

  • @maseedilyas203
    @maseedilyas203 3 года назад

    Holy !! Why don't you have a million subs already, quality content my man ❤️

    • @CharmingData
      @CharmingData  3 года назад +1

      Thank you @maseed. Were you able to deploy your app?

    • @maseedilyas203
      @maseedilyas203 3 года назад +1

      @@CharmingData yes , I deployed from GitHub instead of CLI

    • @CharmingData
      @CharmingData  3 года назад

      @@maseedilyas203 do you mind sharing your dash app link for everyone to see here? I'd love to see what you built :)

  • @putradanish1161
    @putradanish1161 4 года назад +2

    Hey Adam, great tutorial. Was wondering if we edit the csv/excel file (COVID19 in your case), will the data reflect live on the website? or will we have to clone, add,commit,push everytime the file is edited? thanks in advance!

    • @CharmingData
      @CharmingData  4 года назад

      Hi @putra,
      If you edit the csv file, you would have to clone and re-push to master the new excel. If you want changes to data to happen live, you would need to connect to a database and update the data through a callback.

    • @putradanish1161
      @putradanish1161 4 года назад

      Thank you! Will explore that option :)

  • @koladeadewoye5226
    @koladeadewoye5226 4 года назад

    Wish this video was made since April. Would've saved me hours of frustration.. sigh. Great Job once again Adam!!

    • @CharmingData
      @CharmingData  4 года назад

      Thanks Kolade. I'm glad it helped you.

  • @reganmuthomi4174
    @reganmuthomi4174 4 года назад

    This is the first video that has worked for me. Thanks Charming Data

  • @NanaOkyere
    @NanaOkyere 4 года назад

    Hey, thanks for your channel. Good to know there are people more passionate about Dash than me. Keep it up!

    • @CharmingData
      @CharmingData  4 года назад

      Thank you Nana. I'm happy you like it :)

  • @ericervin2513
    @ericervin2513 4 года назад

    I'm really enjoying your channel Adam. I just came across your channel as I was looking for some comprehensive teachings on Dash and Plotly for "beginner-ish" programmers. Great stuff!!! You have good content, with a nice educational style.

    • @CharmingData
      @CharmingData  4 года назад

      Thank you Eric. Let me know if there is anything I can do better or if anything would be more helpful for beginners like you. Your feedback is much appreciated 😊

    • @CharmingData
      @CharmingData  4 года назад +1

      Hi Eric. I am trying to gather more supporters to create higher quality educational tutorials on Dash 👨🏽‍🏫 My goal is to reach 15 supporters, and it would mean a lot if you were one of my first 15 😊 www.patreon.com/charmingdata
      If you were able to create any dashboards, I'd love to see them.
      Enjoy the weekend.

    • @ericervin2513
      @ericervin2513 4 года назад

      @@CharmingData Hi Adam, just wanted to let you know I finally got around to taking care of this. I appreciate the nudge. I will do what I can to keep sharing and recommending to friends and followers. You are doing great stuff and I know how hard it is to get started.

    • @CharmingData
      @CharmingData  4 года назад

      @@ericervin2513 thank you Eric ❤️

  • @abdelwahidbenzerrouk8271
    @abdelwahidbenzerrouk8271 4 года назад

    THANKS FOR ALL THIS SERIES , WE REALLY ENJOYED

  • @vivektrivedi2983
    @vivektrivedi2983 4 года назад

    Very underrated video, Amazing step by step tutorial and you probably helped me get a promotion

    • @CharmingData
      @CharmingData  4 года назад

      Good luck :) Hope you get the promotion

    • @CharmingData
      @CharmingData  4 года назад

      Dear Viv. I am trying to gather more supporters to create higher quality educational tutorials on Dash 👨🏽‍🏫 My goal is to reach my first 15 supporters, and it would mean a lot if you were able to support me 😊 www.patreon.com/charmingdata
      Hope you got your promotion,
      Enjoy your weekend.

  • @yogeshkumar-qn7xg
    @yogeshkumar-qn7xg 4 года назад +3

    I am getting this error please check:
    'git' is not recognized as an internal or external command,
    operable program or batch file.

  • @xiaoruitang344
    @xiaoruitang344 3 года назад +1

    How should I re-deploy if I need a new package to be installed? I tried to install it in the clone directory then following the steps in 'Deploy your changes' and it didn't work. Thank you!

    • @CharmingData
      @CharmingData  3 года назад

      Hi @Xiaorui, you need to make sure the name of the new package is in the requirements.txt file

  • @haiderraza4614
    @haiderraza4614 4 года назад +1

    You are MVP sir! Handsdown :)

  • @mackas33
    @mackas33 3 года назад

    Thank you very much for deploying my first Dashboard application.

    • @CharmingData
      @CharmingData  3 года назад +1

      It's so excited to get the first app deployed. Congratulations :)

  • @paulbeelen1451
    @paulbeelen1451 4 года назад +1

    Great tutorial as always! Thanks again.

    • @CharmingData
      @CharmingData  4 года назад

      Hi Paul, I'm trying to gather more supporters to create higher quality educational tutorials on Dash 👨🏽‍🏫 My goal is to reach my first 15 supporters, and it would mean a lot if you were able to support me 😊 www.patreon.com/charmingdata
      I hope you're creating beautiful dashboards :)

    • @paulbeelen1451
      @paulbeelen1451 4 года назад

      @@CharmingData Done Adam! Happy to be number 2.

  • @pierrehsieh7491
    @pierrehsieh7491 4 года назад +1

    Can you tell me the purpose of css file in asets folder ans which video to demonstrate how to use css file? Thanks

    • @CharmingData
      @CharmingData  4 года назад

      Hi Pierre, I'm not by my computer now, so I can't confirm, but I think this video shows how to use CSS in the assets folder and design the layout. ruclips.net/video/dgV3GGFMcTc/видео.html

  • @gastonalvarez3386
    @gastonalvarez3386 2 года назад

    Hi! thank you again for your videos, they're amazing! I have a question, Can I share the link with others to use the app? or only it can be used
    through the heroku's user? My goal is share with other partners of work the dash.

    • @CharmingData
      @CharmingData  2 года назад

      hi gaston, if you upload to heroku or pythonanywhere, you could use a password and share it that way.

  • @alex1garcia1
    @alex1garcia1 2 года назад +1

    Thanks a lot! This is exactly what I needed!

  • @21121990jay
    @21121990jay 3 года назад

    Thanks mate ! This videos really gonna help me to deploy my first app live.

    • @CharmingData
      @CharmingData  3 года назад

      You're welcome, Jitesh. If that doesn't work, try the video on deployment with PythonAnywhere. It's easier to debug with PythonAnywhere

  • @HeiderZapata
    @HeiderZapata 2 года назад

    Hello from colombia!
    I have Two Qstns:
    1. ¿Can I do this tutorial in a Jupyter Notebook?
    2. ¿How many people could connect simultaneously to the app depleyed in Heroku?
    tks

    • @CharmingData
      @CharmingData  2 года назад

      Hi. Many people can connect simultaneously. It depends on the heroku server and how much you pay, but the free version should allow for 10 to 20 people at the same time if the app is not too heavy

  • @greis790
    @greis790 4 года назад +1

    Hello Charming Data, really appreciate the video, great and explanatory tutorial as always! Would like to ask is there any way to package all the stuff needed and create a standalone executable that can be distributed to others in order to run and use the dashboard?? I am asking cause in my case i cant install hekoru in my corporate laptop and the people i want to distribute the dashboard dont have any python knowledge! thx a lot

    • @CharmingData
      @CharmingData  4 года назад +1

      You can try Dash Enterprise. It's not free but they package everything for you.

  • @probhakarsarkar2430
    @probhakarsarkar2430 3 года назад

    you are an awesome guy man, love ur tutorials!

  • @pawlowski6132
    @pawlowski6132 3 года назад

    Awesome, and it works!! Question, if I'm updating code, can I just work in my new clone directory and follow the steps starting with 'git add .' ?

    • @CharmingData
      @CharmingData  3 года назад

      Yes, I think so, Joe. There's just one GitHub command that's different since subsequent pushes to heroku will not be your first one. I can remember what it is, but the instructions are clear on the deploy tab of your heroku app account

  • @keloko123987
    @keloko123987 2 года назад +1

    Thank you for this tutorial it healps me a lot!

  • @klaptor2335
    @klaptor2335 3 года назад

    Thank you for uploading this video. This video was exactly what I needed. I was confused about the whole process of deploying it on heroku and this video helped a lot.
    If its not too much trouble, can you please make a video on how to deploy on AWS/AZURE/GCP?

  • @anacarolinaesteves8407
    @anacarolinaesteves8407 Год назад +1

    Thank you so much, I almost lost my mind, but now it works :)

    • @CharmingData
      @CharmingData  Год назад +1

      Hi Ana Carolina, I'm glad you got it. I'm trying to make a new video on deploying a dash app on render.com. In the meantime, there is a similar video on Plotly's RUclips channel. Check it out, it's easier than heroku

    • @anacarolinaesteves8407
      @anacarolinaesteves8407 Год назад

      @@CharmingData is render free? Because Heroku is charging fees after few days of use. I deployed a dash 5 days ago and today they charged me.

    • @CharmingData
      @CharmingData  Год назад

      @@anacarolinaesteves8407 yes render is free. They also have paid tiers but you can deploy a dash app for free.

  • @migueliturribarria5108
    @migueliturribarria5108 2 года назад

    Thanks for the videos. It was really helpful. One question, if I update the data of my CSV once the app is deployed in Heroku. How I can update the CSV in order to see the new changes in the app deployed?

    • @CharmingData
      @CharmingData  2 года назад

      Hi Miguel, you would need to update the csv on your computer, and redeploy/repush the app to heroku with the newly updated csv

  • @kaankorkmaz8180
    @kaankorkmaz8180 3 года назад

    Great video! I'm curious why you created a new folder for deployment. Is it not possible to use the existing repository in Heroku?

    • @CharmingData
      @CharmingData  3 года назад

      Hi Ma'am. It is. I can't remember why I separated it but I don't think there was a good reason.

  • @adityajawla723
    @adityajawla723 4 года назад

    Hi Adam, a big thanks 🙏 once again to upload detailed tutorial and I had follow all the steps and able to deploy successfully my app on heroku . Even i add login functionality to the app with the help of dash_auth. So user requires ID password to access the app. Thanks once again!!

  • @jboch98
    @jboch98 3 года назад

    Hi Adam, thank you very much for the video, it has made the deployment of my dash app way easier! I have still one advanced question regarding the data processing of uploaded data. I use the Dash Upload Component to upload a Excel-File and import the relevant data into a Pandas DataFrame. Then I use more dash components to to get my evaluation plots, tables, etc. Where are the imported data uploaded to, are they protected or can they be accessed by heroku, for example?

    • @CharmingData
      @CharmingData  3 года назад

      Good question, Julian. It seems like the data is stored in the web browser. So If your app's user uploads their excel sheet to the app, it's actually saving the data on their browser, not Heroku. Which means that it's not saved on server side inside the app.

    • @jboch98
      @jboch98 3 года назад +1

      @@CharmingData Thank you Adam! That would be great:)

  • @big_heart_stella8885
    @big_heart_stella8885 4 года назад

    Hi Adam thanks again for this clear instruction. I have a general question here, If the data I am using to build the dashboard is internal confidential data, is Heroku still a good tool to deploy the App please?

    • @CharmingData
      @CharmingData  4 года назад +1

      Hi @Stella, If your data is very confidential I wouldn't take that risk unless you're an internet safety expert. It is safe to assume that any webpage is hackable by others. We see how Bank of America and Facebook were hacked, and they have safety experts. So it's better to assume your data is not safe on heroku, especially if you are not a website developer.

    • @big_heart_stella8885
      @big_heart_stella8885 4 года назад +1

      @@CharmingData Thanks Adam, yes agree with your comments here. Maybe it is better for me to run the app on local server to utilise the interactive feature in dash and save the static dashboard by exporting to a pdf version afterwards.

    • @CharmingData
      @CharmingData  4 года назад

      @@big_heart_stella8885 Sounds like a smart approach. Good luck @Stella

  • @BenjiBaret
    @BenjiBaret 3 года назад +1

    great tutorial sir, thank you!

  • @adi5187
    @adi5187 3 года назад

    Hello, Very nice video, I have deployed my app watching this tutorial only. Is there any tutorial of you for deploying the dash plotly app using Django??

    • @CharmingData
      @CharmingData  3 года назад +1

      HI @Gaurav, no there isn't one that I am aware of.

    • @adi5187
      @adi5187 3 года назад

      @@CharmingData Thanks for replying, would you create any in future??

    • @CharmingData
      @CharmingData  3 года назад

      @@adi5187 we'll see. I have a lot of videos i have to create first that people have asked me.

  • @alinacbh8174
    @alinacbh8174 11 месяцев назад

    Hey, Adam! You're pure gold for all of us !
    I wonder if you could help me with one question. Is there a chance to share my Dash app without giving the whole project? Html with a few .js files, maybe. I want to save my finished webpage as html file, and send ít to another person. At least i want graphics to be interactive. You could answer with just a link to documentation website 🤗 Thank you in advance! ❤

    • @CharmingData
      @CharmingData  11 месяцев назад

      I'm actually not sure, @alinacbh8174. Can you please post the solution here if you find one.

    • @alinacbh8174
      @alinacbh8174 11 месяцев назад +1

      @CharmingData no, sir, I haven't. But I find out that we can write a path to our js files (mathjax.js and plotly.js) to at least make graphs interactive. So we assume there is a similar way to do this with dash components

    • @CharmingData
      @CharmingData  11 месяцев назад +2

      @@alinacbh8174 I've heard of people make .exe files from Dash apps but I have no idea how to do that.

  • @adriennekline5934
    @adriennekline5934 2 года назад

    How do I change my base interpreter to show as conda? Currently my conda environments are only available if I am selecting an existing interpreter and so my options are limited to just python 3, python2 etc. Please help, thanks!

  • @onepablo7001
    @onepablo7001 4 года назад

    Thanks for the tutorial. How would i go about deploying a dash app on Windows IIS?

  • @salonishah493
    @salonishah493 3 года назад +2

    Hello! Your videos are amazing as always!! I am having an error in the last step. There error says "failed to push some ref"

    • @CharmingData
      @CharmingData  3 года назад +1

      Hi Saloni. I hope my answer in the email I sent you was helpful.

    • @salonishah493
      @salonishah493 3 года назад

      @@CharmingData Yes it was! Thank you so much!!

    • @anuvratshukla7061
      @anuvratshukla7061 3 года назад

      @@CharmingData Same error for me. I have mailed you , anuvrat.031294@gmail.com

    • @nouhazerrifi1176
      @nouhazerrifi1176 2 года назад

      @@CharmingData same error, can you please help ?

    • @CharmingData
      @CharmingData  2 года назад +1

      @@anuvratshukla7061 Hi Anuvrat, I answered you via email. I am not sure what's leading to that problem.

  • @cristianefragata5194
    @cristianefragata5194 4 года назад +3

    Hey, thanks for the great content! Already subscribed :))

  • @AIwithDrMo
    @AIwithDrMo 4 года назад +1

    Thanks for awesome video! Are you going to have similar deployment video on AWS? It is used by many and it would be great to have good videos like yours on that area
    Thanks again

    • @CharmingData
      @CharmingData  4 года назад +1

      Thanks @Dr. Mohammad. I can add it to my tutorial to-do list. Do you think deploying app to AWS EC2 instance
      would be what most people are looking for?

    • @AIwithDrMo
      @AIwithDrMo 4 года назад +2

      @@CharmingData yes, from what I see in the industry, people use EC2 a lot since it can be easily tied to other services offered by AWS. Thanks for your awesome job and more power to you!

  • @gilberthernandez5033
    @gilberthernandez5033 3 года назад

    I'm getting an error that says "Git must be installed to use heroku GLI"...event though I know I have git installed. does it need to be installed into a folder relative to the heroku folder on my computer?

  • @WhiteLemon_Official
    @WhiteLemon_Official Год назад

    Hello charming, Thank you for your great videos! I will try to deploy my app in heroku,

    • @CharmingData
      @CharmingData  Год назад

      Heroku is no longer free. I would try Render.com if you're looking for a free tier, although keep in mind that Dash apps on Render are slower than Heroku. Render slows them down on purpose.

  • @jabi3jabi3
    @jabi3jabi3 2 года назад +1

    King of plotly 🙏🙏🙏

  • @eurojourney
    @eurojourney 4 года назад

    Hello Charming Data. Great videos by the way, thank you so much for doing this, I sure hope you get more viewers. Anyway, I have repeated this process a number of times and always get the error "application error" when I try to run the app after I am done with the code you provided. I have a couple questions: Do I must have a virtual environment no matter what to run this app in Heroku? Also, I tried a couple times to open a project in Pycharm and create the virtual environment there and sometimes it does creates the folder with the environment named "venv" and some other attempts I have noticed that only the contents of the "venv" folder are there such as "bin", "include" and "lib" plus a file named "pyvenv.cfg" but no "venv" folder. I am not sure if I should be doing something different with the virtual e.... I was using one that I had created with conda but I had to create a new one based on your tutorial and it does not look like I can use a different virtual e. Also, should I have all the files of the virtual environment inside the same folder that I am going to be using for the app? I have a feeling that my problem has to do with the virtual environment. Any thoughts will be welcomed.

    • @CharmingData
      @CharmingData  4 года назад +1

      Hola Jorge Muñoz. Not sure what´s going on. There could be many reasons you´re getting the error. Write me at info@charmingdata.org
      Te mandaré un guía sobre cómo instalar un virtual environment, y si eso no te ayuda, podemos hablar por teléfono para ver si encontramos el problema.
      Adam

    • @eurojourney
      @eurojourney 4 года назад

      Charming Data I figure it out. I couldn’t do pip install using the virtual environment created in pycharm so I created a new one in anaconda and copied the files to the folder where I had my .py file and requiremets.txt. Activated the virtual environment and then I was able to pip install all I needed for my app. I followed your steps and it worked... thank you for such a fast reply! Great tutorials. Hope you get more subscribers!!!!

    • @CharmingData
      @CharmingData  4 года назад

      @@eurojourney glad it worked. Good luck with future dashboards 🙅

  • @anujpatel6438
    @anujpatel6438 4 года назад +1

    Thumbs up to your efforts

  • @Matharendre
    @Matharendre 3 года назад

    Hello and, first of all, thank you for your awesome content!
    Unfortunately, for this one, the gunicorn library doesn't seem to work on Windows.
    Is there an alternate library please?

  • @theinstigatorr
    @theinstigatorr 3 года назад

    Having issues running this at the deployment stage. When I push the command line is stuck on pandas with the line installing build dependencies: still running

  • @skywankeryoupi
    @skywankeryoupi 3 года назад

    Hello and thank you so much for your tutorials. At 8:34 when you open the terminal you have the virtual environment already activated, but when I do the same the venv is not activated. How do I activate it please? thanks a lot

    • @skywankeryoupi
      @skywankeryoupi 3 года назад

      I figured it out: I needed to go to File > Settings > Project: (my project name) > Python interpreter, and choose Python3.8 from the environment I created, if it can help others

    • @skywankeryoupi
      @skywankeryoupi 3 года назад

      I don't have the "(venv)" in the terminal though, just "PS"

    • @CharmingData
      @CharmingData  3 года назад +1

      @@skywankeryoupi yes. Pycharm changed I think. It just shows ps. Try to do pip list to see if you have the libraries that you installed in the virtual environment.

    • @skywankeryoupi
      @skywankeryoupi 3 года назад +1

      @@CharmingData Thanks for the reply!

  • @vtsormpa
    @vtsormpa 4 года назад

    Thank you very much! This tutorial is so informational! Cheers! I have just a question: I am creating a flask html website and I was wondering how I could integrate my dash apps to them

    • @CharmingData
      @CharmingData  4 года назад

      Hi V.T. Dash is built on Flask so hopefully, it's not too different. Do you already have Dash integrated inside your flask html website?

    • @vtsormpa
      @vtsormpa 4 года назад

      @@CharmingData yeah, they Dash is built on Flash so I am hopeful I am not wasting my time xD No, not yet.. I spent lots of time investigating how I can have two sunburst graphs side by side on an html page and come sort, that's the reason I will need to use Dash instead :)

    • @CharmingData
      @CharmingData  4 года назад

      @@vtsormpa try this tutorial I created on app styling. I think you'll find it useful. ruclips.net/video/vqVwpL4bGKY/видео.html

  • @sarmaos587
    @sarmaos587 4 года назад

    Hello Adam, thanks a ton for this tutorial. I have a quick question if you can help. I successfully followed what you showed on the video and got the app on heroku However my app is not working (without showing any errors). Basically what seems not working is the external connections (APIs & scraping) which probably fail to get data. Could you please let me know how you debug the .py or if you know any reason this might hapenning? Maaaaaany thanks man! keep up the great work :)

    • @CharmingData
      @CharmingData  4 года назад

      Hi Spyros. I've never encountered that problem. First of all make sure it is defintely the scrapping. Try to rebuild you app without the API & scrapping connection and see if it works on Heroku. If scrapping is the cause, I'm not sure what the solution might be. Have you tried searching on Stackoverflow for the same problem?
      I found this so far. If I find something else, I'll let you know.
      stackoverflow.com/questions/63597084/api-request-doesnt-work-on-heroku-properly

  • @sriadityab4794
    @sriadityab4794 3 года назад

    Can you please tell me after deploying the app on Heroku, where the data is being stored and how the data is being pulled to get visualizations?

    • @CharmingData
      @CharmingData  3 года назад +1

      that's a good question. I think it's being stored within the heroku servers, but I'm not sure. Maybe someone else watching this tutorial would know better.

  • @felipelopez3722
    @felipelopez3722 3 года назад

    Thank you for the video. I am trying to deploy my dash app my I am gettinf the H10 error. My apps has csv tables and it use a class funtion from other code I have. I do not if that is the reason for getting this kind of error but it is my best guess. Is there any way to find out what is the exact problem of my app?

    • @CharmingData
      @CharmingData  3 года назад

      Hi Felipe, try to look at the heroku error logs

  • @stuckdata3484
    @stuckdata3484 4 года назад

    Thank you for this tutorial. I have a problem :/ when I try to install the libraries of the 8 step, give me this error on the console local: Could not fetch URL pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exc
    eeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

  • @abdelrahmantarek9478
    @abdelrahmantarek9478 2 года назад

    Hello Adam thank you for this amazing tutorial I have followed all the steps but unfurtionaltly at the last step when deploying I get an application error I would be very thankful if you could help thanks in advance

    • @CharmingData
      @CharmingData  2 года назад

      hi @abderlrahman what application error message do you get? What is it telling you?

  • @sandalidahanayake4972
    @sandalidahanayake4972 3 года назад +1

    how many apps can we create in a single heroku account? and thanks a lot for the video!!

    • @CharmingData
      @CharmingData  3 года назад +1

      As many as you want. Heroku has a free version with the limit that your app will "fall asleep" if not used for 30 minutes. So loading it might take 10 seconds. But I'm pretty sure you can add as many apps as you want.

    • @sandalidahanayake4972
      @sandalidahanayake4972 3 года назад

      @@CharmingData thank you for the clarification!

  • @shaokangtong1983
    @shaokangtong1983 4 года назад

    Thanks for sharing this. I use the jupyter notebook to develop my app and have no idea of using pycharm. I tried to follow the step 12 to step 17 on your tutorial but fail to deploy the app. The error log message is "No default language could be detected for this app" Push Failed. Could you please tell me how to solve this problem? Many thanks

    • @CharmingData
      @CharmingData  4 года назад

      Hi Shaokang, it's a bit complicated to deploy jupyter notebook file to heroku. You would need to use a jupyter server jupyter-notebook.readthedocs.io/en/latest/public_server.html
      You can also try using voila pythonforundergradengineers.com/deploy-jupyter-notebook-voila-heroku.html#:~:text=Jupyter%20notebooks%20are%20a%20great%20way%20to%20write%20and%20run%20Python%20code.&text=Voila%20turns%20Jupyter%20notebooks%20into,the%20cloud%20hosting%20service%20Heroku.
      Of course, another option is to download and install PyCharm, as it is a python IDE. Whatever you prefer. I hope this helps.

    • @shaokangtong1983
      @shaokangtong1983 4 года назад

      @@CharmingData Thank you so much and will work on this

  • @משהדזיין
    @משהדזיין 3 года назад

    Shabat shalom' while the beautiful vid, had some after installing Heroku CLI, needed terminal step "npm i -g heroku"
    then heroku login.
    can document it in the word file Step-by-Step Guide

    • @CharmingData
      @CharmingData  3 года назад

      HI Moshe, what is that terminal step? Why did you need it and I didn't? Would that be between step 11 and 12?

    • @משהדזיין
      @משהדזיין 3 года назад

      @@CharmingData testing it

  • @lixinrong3094
    @lixinrong3094 3 года назад

    Sir, did you ever try to add basemap dependency to heroku app. My plotly app needs basemap package as dependency but I failed to add it to the server. Can you give me some advice? Many thanks!!!

    • @CharmingData
      @CharmingData  3 года назад

      hi Li, no, I did not have to add basemap dependencies.

  • @faheemtassadaq
    @faheemtassadaq 4 года назад +1

    Hello my friend, I have an issue while creating a Procfile. I manage to create the file but it doesnt open when i double click it and there is a small question mark sign next to the file. any idea what could be the issue.
    appreciate your support as always.
    Thanks

    • @CharmingData
      @CharmingData  4 года назад

      Hi @Faheem have you tried opening it with notepad+?

    • @faheemtassadaq
      @faheemtassadaq 4 года назад

      Hi @@CharmingData .. thanks for this. Yes I did a workaround with notepad and just saving the Procfile without any extension so this issue was sorted.
      Now I have run into another issue :) my application is running fine when I run it on my local machine but after deploying it on Heroku, When I go to the app URL, I see Application Error. Then I checked the logs from Heroku CLI and basically I see some weird errors and one of them is
      File "/app/mydashapp.py", line 74, in
      2020-11-04T06:15:30.724275+00:00 app[web.1]: server=app.server()
      2020-11-04T06:15:30.724369+00:00 app[web.1]: TypeError: __call__() missing 2 required positional arguments: 'environ' and 'start_response'
      not sure what I am doing wrong but it seems the error is because of server=app.server() line which is added to the code.
      any idea what could be the issue? I will really appreciate any help here .
      Thanks
      Faheem

    • @CharmingData
      @CharmingData  4 года назад

      @@faheemtassadaq Faheem, i think it's supposed to be app.server and not app.server()

    • @faheemtassadaq
      @faheemtassadaq 4 года назад +1

      @@CharmingData oh my bad... Thanks a lot my friend .. may God bless you... the app is running fine now.. by the way one thing I noticed is that the HTML page rendering by Heroku is a bit different than what I see on my local application but anyways the app is working like a charm :)

  • @kacperdzida9027
    @kacperdzida9027 4 года назад

    Hi there! All was going smooth until the very end. When I try to push to master I get an error related to requirements.
    """
    Enumerating objects: 13, done.
    Counting objects: 100% (13/13), done.
    Delta compression using up to 8 threads
    Compressing objects: 100% (9/9), done.
    Writing objects: 100% (13/13), 43.08 KiB | 4.31 MiB/s, done.
    Total 13 (delta 1), reused 0 (delta 0)
    remote: Compressing source files... done.
    remote: Building source:
    remote:
    remote: -----> Python app detected
    remote: -----> Installing python-3.6.12
    remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
    remote: -----> Installing SQLite3
    remote: -----> Installing requirements with pip
    remote: ERROR: Invalid requirement: 'blas=1.0=mkl' (from line 4 of /tmp/build_cbbe6b5a/requirements.txt)
    remote: Hint: = is not a valid operator. Did you mean == ?
    remote: ! Push rejected, failed to compile Python app.
    remote:
    remote: ! Push failed
    remote: Verifying deploy...
    remote:
    remote: ! Push rejected to kacper-test-app.
    remote:
    To git.heroku.com/kacper-test-app.git
    ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'git.heroku.com/kacper-test-app.git'
    """
    Thing is I use Anaconda and VSC. I set up directory and environment properly, but apparently it tries to get requirements from some other file related to different python version on my Mac. Any idea how I should deal with that issue?

    • @CharmingData
      @CharmingData  4 года назад

      Look in your requirements.txt file. There appears to be something wrong with blas=1.0 maybe it's misspelled or the equal sign

  • @mohammadsamirahmed8205
    @mohammadsamirahmed8205 2 года назад

    i am getting this message after logging in. Logging in... done
    Error: ENOENT: no such file or directory, open 'G:/_netrc'
    later when i run heroku git:remote -a remotedashboard; it asks me to log in again
    please help how can i fix this

    • @CharmingData
      @CharmingData  2 года назад

      Hi Mohammad. I don't know what the problem is just by seeing one log in error. Sorry I can't help

    • @mohammadsamirahmed8205
      @mohammadsamirahmed8205 2 года назад

      @@CharmingData i have solved the issue by running: set HomeDrive=c:/users/xxxxx... at the terminal.

  • @feranaut5537
    @feranaut5537 3 года назад

    Great video! Anyone else is having this problem? [remote rejected] master -> master (pre-receive hook declined)

  • @yogendrachoudhary1570
    @yogendrachoudhary1570 3 года назад +1

    what is the format of Procfile file

  • @derricklim8423
    @derricklim8423 4 года назад

    Thanks mate, it works for me at the end. I had to spend some time figuring out the virtual environment tho.

  • @dennisowusu8247
    @dennisowusu8247 2 года назад

    Hi Charming Data
    Unfortunately I did not install all the libraries before deployment. How can I fix this issue

    • @CharmingData
      @CharmingData  2 года назад

      You don't have to install them before deployment if you don't want to. As long as you automatically create the requirements folder. And don't forget to upgrade to dash-tools 1.6.0

  • @Sagar_Tachtode_777
    @Sagar_Tachtode_777 4 года назад

    have mailed you the same.
    (env) C:\Users\Sagar Tachtode\Desktop\Project_1>git init
    'git' is not recognized as an internal or external command,
    operable program or batch file.
    I have installed git and logged into Github. still while initiating git, getting this error. What to do?

    • @CharmingData
      @CharmingData  4 года назад

      Let me respond in the email you sent me.

    • @CharmingData
      @CharmingData  4 года назад

      @Sagar, I think I know why this is. When do you get this error? What code are you trying to execute?

  • @pythonprogrammer2186
    @pythonprogrammer2186 3 года назад

    Very nice! Enjoying your videos.

  • @fayezhesham1057
    @fayezhesham1057 3 года назад

    while doing the last step ''git push heroku master'' it says that app not compatible with buildpack
    it uses heroku/python buildpack can anyone help?

  • @tangigouez3745
    @tangigouez3745 4 года назад +1

    Hey Adam, thanks for these super helpful tutorials! Is it possible to deploy your dash app from a private GitHub repository with Heroku? I want to to require users who want to access my app to authenticate using dash-auth. The thing is I don't want people to be able to read in clear the passwords on the source code (as it is a basic authentification method). Would you have any suggestions to go around this issue ?

    • @CharmingData
      @CharmingData  4 года назад +1

      hi @Tangi. I'm not sure about Github I'm sorry. I heard you can deploy Dash app on pythonAnyWhere and set up user authentication. But I haven't tried that yet.
      I hope to make a tutorial on that in a few weeks.

    • @tangigouez3745
      @tangigouez3745 4 года назад +1

      @@CharmingData thanks for your answer, I'll have a look at pythonanywhere !! I think a tutorial about the best options to secure a dash app with authentification can be valuable indeed.

    • @tangigouez3745
      @tangigouez3745 4 года назад

      Hey, I've just checked and it is possible to deploy an app from a private GitHub repo : I chose GitHub as the Deployment method and then when I authorized Heroku to access my account it is stated "This application will be able to read and write all public and private repository data". So I'm planning to implement user authentification with dash-auth (dash.plotly.com/authentication)

    • @CharmingData
      @CharmingData  4 года назад

      @@tangigouez3745 I'm glad you found a way. Will you be using Dash Enterprise or Dash Basic authentication? Because I find it hard to scale basic authentication.

    • @tangigouez3745
      @tangigouez3745 4 года назад +1

      @@CharmingData yes you're right, for the moment as I don't have many users so I'll just do Basic Authentification. Then for sure I'll need to find a more scalable way for authentification if there are more users. I see two free options that can be implemented with a bit more work : Google login (realpython.com/flask-google-login/#why-use-google-login-for-your-users) or Flask login (realpython.com/using-flask-login-for-user-management-with-flask/#creating-an-admin-user)

  • @nielshoogeveen3767
    @nielshoogeveen3767 3 года назад

    I get: at=error code=H14 desc="No web processes running" method=GET path="/"
    What's going wrong?

  • @babylonian977
    @babylonian977 4 года назад +1

    I just want to double-check, If I want to make an app and send the HTML to my friend and he does not has a python in his laptop this will work fine? or does he need to install python and the required libraries?

    • @CharmingData
      @CharmingData  4 года назад +1

      this will work fine for your friend if he wants to view the app or interact with the dashboard that you might create. But if your friend wants to change the code, they would need python

  • @nickmuchi
    @nickmuchi 4 года назад

    Awesome tutorial, is it possible to use .ipynb ext instead of .py?

    • @CharmingData
      @CharmingData  4 года назад

      I think it's possible, but you have to go through other software to do so: pythonforundergradengineers.com/deploy-jupyter-notebook-voila-heroku.html#:~:text=Another%20way%20to%20share%20Jupyter,the%20cloud%20hosting%20service%20Heroku.

  • @xXProtatoXx
    @xXProtatoXx 2 года назад

    Hey brother, my company has a local sql server that I wish to feed data from (new records are added daily). Is it possible to read this live data in when using heroku?

  • @florianbuchheit4706
    @florianbuchheit4706 3 года назад

    If some data are generated by the user on the dashboard and must be saved, I was wondering whether data are saved locally, on the user's computer, or on the server.

    • @CharmingData
      @CharmingData  3 года назад

      Hi @Florian, Data is saved on the user's computer, not on the server. Which means, whenever the app is refreshed, the data will be lost.

  • @cansuuzunsimsek6662
    @cansuuzunsimsek6662 4 года назад

    This is exactly what i need. Thanks a lof for the video

  • @stuckdata3484
    @stuckdata3484 4 года назад

    Hi Adam! I would ask you, how I can to publish a Dash on my Web ?