Deploying a Flask App to Azure with Visual Studio Code and Github

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • This video shows how to deploy the web app to Azure. The Azure App Service is configured using Visual Studio Code. Then a Github action is created to automatically deploy the application when the code is pushed.

КОМЕНТАРІ • 21

  • @mdq8198
    @mdq8198 Рік тому +1

    Thanks for the video, the most comprehensive and easy to follow I've seen on the subject.
    I still suck at trying to make my flask app available online through Azure but it still helped !

  • @doyinrunsewe6201
    @doyinrunsewe6201 18 днів тому

    Thanks. found this super helpful. I tried earlier via ssh and that was a pain.

  • @vicencio5740
    @vicencio5740 2 роки тому +1

    You saved my exam, thank you so much

  • @GraemeMeyer
    @GraemeMeyer 7 місяців тому

    Great tutorial. Thanks Douglas!
    Would be a nice addition/postscript to show how to prevent the API from returning the user's passwords!

  • @adityapunetha6606
    @adityapunetha6606 2 роки тому +2

    Thanks, this is exactly what I was looking for

  • @alhanoofaldossary1198
    @alhanoofaldossary1198 6 місяців тому

    Thank you very much! better that official documentation website

  • @tony_boy11306
    @tony_boy11306 2 роки тому

    Thank you. The instructions are so well-explained!

  • @vladinoo
    @vladinoo Рік тому +1

    Hi, completed this series and I can say I definetely learned a lot from you. You seem like great teacher. Will there be a continuation to this? Thank you!

    • @DouglasStarnes
      @DouglasStarnes  Рік тому

      So you prefer series to one offs? Do you prefer multiple clips in a series or one long video? I'm trying to find out what people want.

    • @vladinoo
      @vladinoo Рік тому +2

      @@DouglasStarnes well its up to you. I probably prefer series of apppr. 10-15min clips, especially when it is some project which consists of more parts. But I thought you wanted to continue with this flask application somehow and did not find next episode. Thank you for your content. Also learned from you some git basics in VS code which helped me.

  • @andreiamador4894
    @andreiamador4894 Рік тому

    Thanks Douglas, I was able to achieve with your great and simple explanation. I love the fact why you connect GitHub with azure and the auto deploy everytime we push to the master.
    I have one question, I was not able to set up the FLASK_ENV variable, why do you need to set up these two variables (app and env)?

  • @learntechwithabderrezak2507
    @learntechwithabderrezak2507 5 місяців тому

    is there any way to build it locally and deploy it az a zip in linux appservice?

  • @mdq8198
    @mdq8198 Рік тому +1

    I have succeeded in hosting your application on azure app service, but I have another app, that is perfectly fine when running in local, but it gives me an " :( Application Error" when I try to access it's azure-app url. I have followed the exact same steps as you did.
    Maybe it is because I have a sql database inside it, IDK.

    • @mdq8198
      @mdq8198 Рік тому +1

      nevermind, figured the little mistake that was preventing startup.

    • @PYETech
      @PYETech Рік тому

      @@mdq8198 What was the mistake? I'm having the same issue.

    • @mdq8198
      @mdq8198 Рік тому

      @@PYETech pretty sure it was how I wrote 'startup' or something of the sort. I'll look it up.

    • @PYETech
      @PYETech Рік тому

      @@mdq8198 Where? Can you be more specific? I appreciate.

    • @LK-dd7mi
      @LK-dd7mi Рік тому

      @@mdq8198 I have the same issue.. how did you fixed it? Help plz

  • @toddmueller
    @toddmueller 13 годин тому

    I tried following along with this and I get this error that I cant figure out how to resolve.
    2024-08-21T00:42:17.637Z ERROR - Container flashapp-test_0_3f696445 didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging.
    Anyone receive this and was able to resolve it?