Deploying Deep Learning Flask + React Application to Heroku

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 19

  • @sheetalsingh4000
    @sheetalsingh4000 4 роки тому +2

    Great video sir!! Helpful.

  • @WomanInWhiteHat
    @WomanInWhiteHat 3 роки тому +1

    Can I deploy a python h5 model using the same steps in heroku?

    • @DevSense19
      @DevSense19  3 роки тому +1

      Yes that will definitely work

  • @aladdinoscopy
    @aladdinoscopy 3 роки тому

    Thank you bro.

  • @beastboyhulkgaming9261
    @beastboyhulkgaming9261 4 роки тому +1

    Nice video

  • @rramjee1
    @rramjee1 3 роки тому +1

    Thanks for this excellent video. I'm able to deploy the app to github and also I have my flask API in heroku. I'm getting network error when trying to access the API from github. I also tried to access the heroku API from localhost and still getting the same network error. Can you please help

    • @DevSense19
      @DevSense19  3 роки тому

      This may be because of CORS. you need to allow all end points to be hit. Try searching allow cors in flask

    • @rramjee1
      @rramjee1 3 роки тому +1

      @@DevSense19 ok. Sure. Thanks. Let me check and get back.

    • @rramjee1
      @rramjee1 3 роки тому

      Thanks it worked. Now i'm able to get the response from API when accessing from localhost.

  • @hrithikjoseph2274
    @hrithikjoseph2274 3 роки тому

    How to deploy both the services in the same server?

    • @DevSense19
      @DevSense19  3 роки тому

      Run both in background but you shouldn’t IMO

  • @WomanInWhiteHat
    @WomanInWhiteHat 3 роки тому

    Can I use a private GitHub repo and connect it with heroku?

    • @DevSense19
      @DevSense19  3 роки тому +1

      You can try. But IMO, if you make repo private, you can’t make the website public using gh-pages. If you want to do that then you would need to deploy using netlify.

  • @dante8728
    @dante8728 4 роки тому

    i want to deploy my create-react-app to heroku, but i just found videos that i have to do it with ExpressJS backend.. :(
    what can you suggest me if i want to deploy in Heroku, but avoiding the part of ExpressJS? should i deploy instead with flask together?

    • @DevSense19
      @DevSense19  4 роки тому

      You have to use any backend from Express or Node. I don't think Flask backend will work to deploy react site on heroku. It is not framework's limitation. It is platform's limitation.