How to Deploy a Flask App to Heroku | Flask Heroku Deployment

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ย. 2024

ความคิดเห็น • 57

  • @manomancan
    @manomancan ปีที่แล้ว +13

    Phenomenal, phenomenal, phenomenal... After 3 days of nonsense with other tutorials, finally got my project online. Thank you, Arpan!

  • @juliah8071
    @juliah8071 ปีที่แล้ว

    This is the best tutorial I've ever watched when it comes to flask... literally the only thing that worked for me - thank you so much!

  • @dajith1317
    @dajith1317 2 ปีที่แล้ว +2

    Thank a lot ❤before I saw this video. I wasted one day.... But now I got ❤❤❤

  • @ghazalmasri7400
    @ghazalmasri7400 9 หลายเดือนก่อน

    idk what to say but just ! UUUUUUU SAVEDDDD MY LIFFFFFFFFFFFFEEEEE ALL LOVE AND RESPECT

  • @SamuelBrand-u8t
    @SamuelBrand-u8t 10 หลายเดือนก่อน +1

    Thanks so much! Everything went super smoothly except from the very last command. With 'git push heroku main', it says 'heroku' does not appear to be a repository, I am on windows. Have I set something up badly?

  • @Stranger-uj4ck
    @Stranger-uj4ck 4 หลายเดือนก่อน

    Great job!! This was very helpful. Thanks for making it

  • @Jakku_Azzo
    @Jakku_Azzo 4 หลายเดือนก่อน +1

    "Heroku is a platform we can use to host WA-" loved the video tho

  • @hussainahmadwaien7226
    @hussainahmadwaien7226 ปีที่แล้ว +3

    Can I edit the code after deploy or I have to deploy again?

  • @AmielT
    @AmielT 3 หลายเดือนก่อน

    Immeeeeeeeeediate subscribe and like. “
    The best clear concise and straight to the point tutorial I have ever seen. Kudos bro. Earned a sub from me. 👍🏾

  • @canklc5772
    @canklc5772 2 ปีที่แล้ว +1

    Thank you very mcuh for the details about how to create Procfile. I looked for this info for hours. file name + app. Thanks mate

  • @hashamyounas3864
    @hashamyounas3864 8 หลายเดือนก่อน +1

    'git push heroku main' says 'heroku' does not appear to be a repository...

  • @shivamsharma-zv7zl
    @shivamsharma-zv7zl 3 ปีที่แล้ว +3

    is deploying venv on github is also imp??

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  3 ปีที่แล้ว

      Not necessarily, but I recommend that you do because if someone else wants to download your code and run it, they can just activate the virtual environment which has all the packages.

  • @elsymakena3034
    @elsymakena3034 2 ปีที่แล้ว +3

    This is such a helpful video. Though I'm getting a buildpack error, what can I do?

  • @lucasolarreaga2570
    @lucasolarreaga2570 2 หลายเดือนก่อน

    I love you !!!!! I was so done...

  • @saidalkharusi7824
    @saidalkharusi7824 ปีที่แล้ว

    Wish all tutorials were like this, we wouldn't need 2x button if they were.

  • @yagnakarthikvaka1461
    @yagnakarthikvaka1461 2 หลายเดือนก่อน

    Super! by creating private git repo no tutorial shown this.

  • @Kjeii
    @Kjeii ปีที่แล้ว +1

    hi thank you for sharing video!!
    have you ever deal with error about "address already in use" & "port 5000 is in use in another program "when beginning to deploy new project? that always happens to me, even though i do not deploy any program yet. I also changed another port like 8000, it still did not work.

    • @ssublexff3465
      @ssublexff3465 5 หลายเดือนก่อน

      to late to reply for sure but in case someone might need it....
      You can go to your task-manager and check if there is some active application that is running on X port you are looking for.
      Another solution would be to check the port via terminal (CMD) i user windows so here is the command netstat -aon | findstr :5000 (I've taken port 5000 just as an example)
      After that you can simply change the port of x app (always check if there migh be some other app running on this new port you are thinking of running your program)

  • @LouisaMacchiato
    @LouisaMacchiato 2 หลายเดือนก่อน

    Thank you very very much! ❤

  • @oscargalvez7
    @oscargalvez7 ปีที่แล้ว

    Thanks for the tutorial, it was amazing! The only thing is that I wanted a free plan to start testing my app and it seems Heroku removed their free tier on November 2022, so I got an error to set up a payment method 😅

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  ปีที่แล้ว

      Yeah lol, I use Vercel/Netlify instead for hosting now

    • @oscargalvez7
      @oscargalvez7 ปีที่แล้ว

      @@ArpanNeupaneProductions lol good to know, I'll try Vercel then, thanks for the response!

  • @viacheslavgurov4371
    @viacheslavgurov4371 ปีที่แล้ว +1

    Hello, thanks for your job. I got stumbled here. Help, please.
    ! [remote rejected] main -> main (pre-receive hook declined)
    error: failed to push some refs to "my-app"

  • @satishgaire
    @satishgaire 3 ปีที่แล้ว +1

    great video

  • @jaimeviloriogreen
    @jaimeviloriogreen 2 ปีที่แล้ว +1

    Thank's a lot due!

  • @Kc_bin
    @Kc_bin 3 ปีที่แล้ว +1

    New Video YAY

  • @codehunterhari
    @codehunterhari 4 หลายเดือนก่อน

    Bestttt

  • @sudo-abhinav
    @sudo-abhinav 2 ปีที่แล้ว +1

    can we add venv file in gitignore file????

  • @jatinoza3099
    @jatinoza3099 2 ปีที่แล้ว

    what is the name of vs code theme you are using here? and do anyone know more good vs code themes

  • @paulq0246
    @paulq0246 2 หลายเดือนก่อน

    Thanks for this ! Can someone tell me why the official documentation is complete garbage?

  • @huynhthanhliem11x13
    @huynhthanhliem11x13 7 หลายเดือนก่อน

    What does 550h free mean?

  • @ankitchatterjee1615
    @ankitchatterjee1615 2 ปีที่แล้ว +1

    What if a venv is not created ?

    • @willuloveme7744
      @willuloveme7744 2 ปีที่แล้ว

      Create it by yourself. Open terminal and go to the project's directory, then run python3 -m venv venv_name

    • @ankitchatterjee1615
      @ankitchatterjee1615 2 ปีที่แล้ว

      @@willuloveme7744 Okay Thanks 🧀
      But is it compulsory to make it ?

    • @willuloveme7744
      @willuloveme7744 2 ปีที่แล้ว +1

      @@ankitchatterjee1615 well, it depends. You see, when you use venv, all the packages are installed only within it, they do not affect the main python files on your computer. It is a good way to sort these packages and to keep your main python files clean.

    • @ankitchatterjee1615
      @ankitchatterjee1615 2 ปีที่แล้ว

      @@willuloveme7744 Alright Thank you very much 🧀🍫

  • @turing4991
    @turing4991 2 ปีที่แล้ว +1

    Gunicorn is not starting.............. my deadline is today :)

  • @thedjangoway9052
    @thedjangoway9052 2 ปีที่แล้ว

    how about with flask sqlachemy db?

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  2 ปีที่แล้ว +1

      You can connect a Heroku PostgreSQL DB to your Heroku app through the settings and set the URI of the database to the URI of the PostgreSQL DB in your Flask app.

    • @thedjangoway9052
      @thedjangoway9052 2 ปีที่แล้ว

      @@ArpanNeupaneProductions wow that's a fast reply. i wish you will create discord channel for us.

  • @charles_goldwill
    @charles_goldwill ปีที่แล้ว

    god send!!!!!!!!!!!

  • @areej2240
    @areej2240 14 วันที่ผ่านมา

    credit information is required

  • @lokranjanp3520
    @lokranjanp3520 3 หลายเดือนก่อน

    use ssh instead of http for adding remote origins.

  • @EJSV
    @EJSV 2 ปีที่แล้ว

    Thanks

  • @drashtithakkar9914
    @drashtithakkar9914 2 ปีที่แล้ว +1

    HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
    i am getting this error, searched over stackoverflow too , couldnt find soln
    please help

  • @artwork-studios
    @artwork-studios 7 หลายเดือนก่อน

    Thanks but i dont have credit card

  • @Varun-hz2hb
    @Varun-hz2hb 9 หลายเดือนก่อน

    this is asking for money now