How To Deploy A Flask App on Render (2024) | Flask App Free hosting

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

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

  • @iosule3719
    @iosule3719 5 месяцев назад +1

    thanks man definitely gonna try zis method, Vercel was hell also it didn't have mysql support, i hope render does ❤, the project i wanna upload is about a blog website, each user has to create an acct to make a post, they can edit password, profile picture, search users and view profile history too

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Thanks.
      Render has mysql support and the project that you are trying to accomplish is definitely possible. Please like this video and subscribe to my channel if this video helped tou in any way. This will help me🙂.

    • @iosule3719
      @iosule3719 5 месяцев назад +1

      @@CodeYoga22524 done ✅

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Thanks

  • @arsh185
    @arsh185 5 месяцев назад +1

    thanku mate

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Glad I could help 😊

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Please subscribe if you have not already. Your support will help me create better tutorials.

  • @jbojos112
    @jbojos112 Месяц назад

    how to fix module not found named app

    • @CodeYoga22524
      @CodeYoga22524  Месяц назад

      Can you send me the entire log to this email. code.yogi.channel@gmail.com.
      I will take a look.

  • @HarshKumar-cu5op
    @HarshKumar-cu5op 5 месяцев назад

    I do same thing to deploying my project using render as you did but i have got attribute error: module app has no attribute 'app' why is it happening and also i made project using virtual environment

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Please share your code(github link) with me if possible. I will take a look and get back to you.

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Ensure the start command has been given correctly during creating the web service in render

    • @HarshKumar-cu5op
      @HarshKumar-cu5op 5 месяцев назад

      @@CodeYoga22524 I didn't understand what type of start command I have given

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      If you share your github repo link I can take a look and help.
      The start command should be
      gunicorn :app

    • @HarshKumar-cu5op
      @HarshKumar-cu5op 5 месяцев назад

      Don't know why the repo link is not being sent but I am sending you the hard code . harsh0311/Micro-Blog-website

  • @chintan_dave
    @chintan_dave 3 месяца назад

    After few hours link doesn't work we have to reload from render
    Can we apply custom time Range where there is live tail ??
    And waht is maximum limit of time range like for how many hours we can use link without any down time ???

    • @CodeYoga22524
      @CodeYoga22524  3 месяца назад

      There is no such feature to apply custom time range. The free tier comes with some downtime. It also depends in the project size. If the project size is big then may be paying for the hosting would make sence.

    • @chintan_dave
      @chintan_dave 3 месяца назад

      @@CodeYoga22524 If you click on live tail there is option for custom when I click on that the current date appears and in side there is option to set time ......
      After approx three to four hours my website link is not working
      Can you give me suggestions to deploy free for atleast 24 hours and on second day if I relod it's work again for next 24 hr

  • @ahmadwaheed8003
    @ahmadwaheed8003 5 месяцев назад

    It is asking for the credit card details even i selected the free plan.

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад +1

      It should not ask for credit card if you selected free as shown in the video. I just tested it on my end. Please try again. If it still persists then probably render.com has decided to collect credit card details based on the project size you want to deploy or may be requirements according to the country from where you are located to avoid abuse.
      Either way you should not be charged anything even if you provide credit card details.
      I came across community.render.com/t/free-plan-issue/6479

  • @sajjadjafri9268
    @sajjadjafri9268 5 месяцев назад

    It is asking for card detail even when selecting for free

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      I just verified. It won't ask for card details if you selected free. Please verify again that you selected Free tier as shown in the video. Sometimes Remder.com's UI could have bugs. But please try again and let me know how it goes. I may be able to help if it still asks for card details.
      If this video helped you please subscribe to my channel and like this video

  • @asimmandal2543
    @asimmandal2543 5 месяцев назад

    What is the pricing for MySql Database?

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Render.com does not have direct support for mysql. But you can deploy your mysql DB usina a private service as shown in the documentation: docs.render.com/deploy-mysql#manual-deploy.
      However for this approach you may need to pay a minimum of $7.
      However you may choose to use Postgres DB as that has free and direct support in render.com

  • @mohammedajmal3398
    @mohammedajmal3398 5 месяцев назад

    Does this work for the web app which has server side functionalities?

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Yes, you can deploy a Flask app on Render.com that includes server-side functionalities. Render.com supports various backend operations like database interaction, user authentication, etc. making it suitable for more complex applications as well.

    • @firegun1399
      @firegun1399 5 месяцев назад

      Bro i am unable to deploy my ml model can u please help​@@CodeYoga22524

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      Hi @firegun1399. Please email me the link to your github repo at code.yogi.channel@gmail.com. I might take a look this week.

  • @HarshKumar-cu5op
    @HarshKumar-cu5op 5 месяцев назад

    I send it on your mail

    • @CodeYoga22524
      @CodeYoga22524  5 месяцев назад

      I have replied to your email with the possible solution to your problem. Hope it helps.
      Please support me by subscribing to my channel if you have not already. Thanks