Heroku Alternative | Learn to deploy Python application on Render | Step by step deployment guide

  Рет қаралды 34,326

Raj Kapadia

Raj Kapadia

Күн бұрын

Пікірлер: 100
@LuKeBf
@LuKeBf Жыл бұрын
i watched your other video about chatgpt whatsapp bot and then this one to deploy it on render! it works great, thank you so much for this!!
@manish-mk
@manish-mk Жыл бұрын
Thank you so much Sir! This world needs more service from persons like you. Again, big thank you 😊
@mohammedfaraazahmed2234
@mohammedfaraazahmed2234 Жыл бұрын
You literally saved me from loosing my mind today!! thanks a lot dude! 💙
@viacheslavgurov4371
@viacheslavgurov4371 Жыл бұрын
Thanks for sharing. Good job. I did a first-ever deploy in my life)
@rajkkapadia
@rajkkapadia Жыл бұрын
Great... 👍
@reima3
@reima3 Жыл бұрын
dude, thanks for do the video, nobody in spanish (my native language) was do this video, so i search it in english and i saw just i was need it and in python. It will good that, you make a video about how to upload, the project, correctly in github and thanks so much again for this video
@Fuzzify
@Fuzzify Жыл бұрын
For anyone wondering gunicorn is not supported for windows and you will have to use an alternative wsgi
@rajkkapadia
@rajkkapadia Жыл бұрын
Thank you for the help...
@Fuzzify
@Fuzzify Жыл бұрын
@@rajkkapadia no problem. Great tutorial!
@Eng-py5yh
@Eng-py5yh Жыл бұрын
Please explain how can I use it instead of gunicorn
@shrutichaturvedi9256
@shrutichaturvedi9256 Жыл бұрын
Sir, I am getting error: Module Named " fcntl " not found whenever I try to run "gunicorn app:app" and gunicorn library is already included in my requirements.txt . What should I do now? Please help.
@rajkkapadia
@rajkkapadia Жыл бұрын
Make sure your file that you want to run is app.py also double check all the dependencies are there in the requirements file...
@PavanKumar-uw7si
@PavanKumar-uw7si Жыл бұрын
Even i am getting the same error, did you got this error sorted?
@rajkkapadia
@rajkkapadia Жыл бұрын
@@PavanKumar-uw7simake sure you understand the command gunicorn app:app, here the first app is the file that you want to run, so if the file you want to run is main.py the your command will be gunicorn main:app
@PavanKumar-uw7si
@PavanKumar-uw7si Жыл бұрын
@@rajkkapadia Yeah yeah , i understood sir , i followed the same naming practice, the issue is with the OS i guess, its troubling in windows, do let us know if you know to tackle this in windows, It would be helpful for many
@rajkkapadia
@rajkkapadia Жыл бұрын
@@PavanKumar-uw7si Windows is always tough for development...
@grahampaul3663
@grahampaul3663 10 ай бұрын
i tried rendering a python web app without the app.py and render keeps asking for it
@rajkkapadia
@rajkkapadia 10 ай бұрын
gunicorn yourfilename:app --host 0.0.0.0:5000
@codevanie-misery
@codevanie-misery Жыл бұрын
WHY EVERYONE USING FLASK IS NOT ON WINDOWS? I CAN'T FIND ANY FIXES ON WINDOWS PROBLEMS
@roddy_21_25
@roddy_21_25 Жыл бұрын
Thanks for all!!! :)
@NitishKumar-xt6hc
@NitishKumar-xt6hc Жыл бұрын
all thing is good but the main problem is with requirements.txt file :( when you create your own project
@MythicalMysteryQuest
@MythicalMysteryQuest Жыл бұрын
Does render support Chrome we driver for selenium testing using python?
@rajkkapadia
@rajkkapadia Жыл бұрын
I think no, you need more control over the instance for that like EC2...
@smritiagarwal56
@smritiagarwal56 Жыл бұрын
it shows ftcl error in guicorn app:app
@rajkkapadia
@rajkkapadia Жыл бұрын
Make sure your python file name is app.py
@mdctw8361
@mdctw8361 Жыл бұрын
Dear Sir, I have a question , When I modify my program in local then upload to Git Hub, how to Upgrade change to RENDER
@rajkkapadia
@rajkkapadia Жыл бұрын
Render will automatically detect changes from GitHub and redeploy the application...
@mdctw8361
@mdctw8361 Жыл бұрын
@@rajkkapadia In github need to create a new version, or direct update?
@rajkkapadia
@rajkkapadia Жыл бұрын
@@mdctw8361 You need to push the code to GitHub repository...
@satyamkumar-x6p6g
@satyamkumar-x6p6g Жыл бұрын
Exited with status 127 while running your code. i am getting this error how can i fix this ?
@rajkkapadia
@rajkkapadia Жыл бұрын
Make sure the python version is correct, all env files are there, and the start command is correct as well...
@rajkkapadia
@rajkkapadia Жыл бұрын
For future help book a call here topmate.io/raj_kapadia/511160
@mdctw8361
@mdctw8361 Жыл бұрын
Need Your comments: When deploy got an error : Mar 25 11:02:06 PM ==> Starting service with 'gunicorn app:app' Mar 25 11:02:06 PM bash: gunicorn: command not found
@rajkkapadia
@rajkkapadia Жыл бұрын
Make sure the gunicorn package is there in the requirements file...
@mdctw8361
@mdctw8361 Жыл бұрын
right now it is ok
@sonal008
@sonal008 Жыл бұрын
while doing gunicorn app:app, it shows no module name 'fcntl'
@rajkkapadia
@rajkkapadia Жыл бұрын
I am not sure in Windows people are facing this issue, but in the command gunicorn app:app, the first app is your python file name that you want to run...
@sonal008
@sonal008 Жыл бұрын
@@rajkkapadia Sir but we mention this in Procfile too. Right?
@rajkkapadia
@rajkkapadia Жыл бұрын
@@sonal008 yes
@biancamaxino
@biancamaxino 8 ай бұрын
@@rajkkapadia how to fix? ModuleNotFoundError: No module named 'fcntl' after i wrote gunicorn app:app My python file is app.py It is correct.
@rajkkapadia
@rajkkapadia 8 ай бұрын
@@biancamaxino Gunicorn throws this error on windows, use python app.py command to run the file...
@syedmujahid9860
@syedmujahid9860 11 ай бұрын
Which linux edition should i install for deployement
@rajkkapadia
@rajkkapadia 11 ай бұрын
I think Ubuntu LTS will be good...
@smritiagarwal56
@smritiagarwal56 Жыл бұрын
my python file name is app.py only still it shows ftcl error please tell
@rajkkapadia
@rajkkapadia Жыл бұрын
You can use Ubuntu WSL on your windows, that will solve the problem...
@smritiagarwal56
@smritiagarwal56 Жыл бұрын
@@rajkkapadia please upload vedio on that
@vansh9899
@vansh9899 Жыл бұрын
gunicorn.errors.AppImportError: Failed to find attribute 'app' in 'app'. how can I resolve this?
@rajkkapadia
@rajkkapadia Жыл бұрын
make sure you understand gunicorn... gunicorn YOURFILENAMEWITHOUTEXTENTION:app, the last app word is compulsory... SO you file name is main.py that you want to run with gunicorn, then the command will be gunicorn main:app
@somvitmaity5421
@somvitmaity5421 2 жыл бұрын
can you make a video about migrating a django project from heroku to render. I mean how to migrate the postgres database to render which is used in heroku . Its already have a documentation but I need a tutorial.
@rajkkapadia
@rajkkapadia 2 жыл бұрын
Hi, I appreciate your suggestion, I will keep this in mind...
@kaushikjoshi8191
@kaushikjoshi8191 Жыл бұрын
Sir, i have one error "ModuleNotFoundError: No module named 'fcntl'" i have seen many solution of this error but this Module 'fcntl' didn't support Windows OS as i seen your video u are running the app on windows so please provide solution on this error. How you have solve this error I have seen comments below but not satisfied with the comments plzzz give the solution on this error 'fcntl'
@rajkkapadia
@rajkkapadia Жыл бұрын
Yes, many people are facing this issue fcntl, let me see what I can do in this matter...
@thessaurabh
@thessaurabh Жыл бұрын
I was encountering the same issue, but later I found out that Gunicorn is for Linux. So, I ran the application using 'flask run' on my machine. Then, on the page of rendering, I followed the steps to use Gunicorn: 'gunicorn app:app', as shown in the video. As a result, I have successfully deployed my Flask site.
@biancamaxino
@biancamaxino 8 ай бұрын
@@thessaurabh what did you do to make the gunicorn app:app worked? I have the same issue. "no module named fcntl"...
@jafariarshadbarg6945
@jafariarshadbarg6945 Жыл бұрын
have repo url uploader bot fore telegram in render ?
@rajkkapadia
@rajkkapadia Жыл бұрын
I did not understand you clearly...
@mdctw8361
@mdctw8361 Жыл бұрын
Hi it's a greate video for me, I have a question how to link Github URL & Render,
@rajkkapadia
@rajkkapadia Жыл бұрын
When you create a new app in render, it will ask you to connect your github or gitlab account...
@mdctw8361
@mdctw8361 Жыл бұрын
@@rajkkapadia thanks
@pemadendup3192
@pemadendup3192 Жыл бұрын
where should I put my html file and model file
@rajkkapadia
@rajkkapadia Жыл бұрын
For html content use templates folder... You can read more about it on Flask website...
@pemadendup3192
@pemadendup3192 Жыл бұрын
@@rajkkapadia thank you sir but when i upload my .h5 file it says "Yowza, that’s a big file. Try again with a file smaller than 25MB."
@pemadendup3192
@pemadendup3192 Жыл бұрын
@@rajkkapadia sir any solution for this
@nehaverma3550
@nehaverma3550 2 жыл бұрын
Sir! could you please make the video how to deploy django project on render.
@rajkkapadia
@rajkkapadia 2 жыл бұрын
You can follow my Python tutorial and in the start command you write python manage.py runserver
@KyanCox
@KyanCox 11 ай бұрын
amazing video
@fawazbashiru6165
@fawazbashiru6165 Жыл бұрын
Thank you so much ❤
@zadkiel_z
@zadkiel_z 2 жыл бұрын
Sir! Please can u make how to deploy bot on this alternative?
@rajkkapadia
@rajkkapadia 2 жыл бұрын
Thank you for the suggestion...
@aperture0
@aperture0 Жыл бұрын
did you find how to deply a bot?
@rajkkapadia
@rajkkapadia Жыл бұрын
@@aperture0 kzbin.info/www/bejne/ZnPIipikoZp1p7M
@shoooooooooorts8002
@shoooooooooorts8002 2 жыл бұрын
How many ml models can be deployed on render for free???
@rajkkapadia
@rajkkapadia 2 жыл бұрын
I am not sure, I have not tested any models on it...
@effdimusic
@effdimusic Жыл бұрын
thanks a lot!
@vishnumuralidhar5659
@vishnumuralidhar5659 2 жыл бұрын
very heipful info thank you
@nextisnowmain
@nextisnowmain 2 жыл бұрын
It's informative
@mdctw8361
@mdctw8361 Жыл бұрын
My Dear , want to know, do you have experience to deploy python project to Render, the python import openai api, 1. my python import openai api, hard code api key in program in local environment test ok 2. I got some problem when deploy the program , Render show API key error , msg as : Mar 27 09:14:54 AM File "/opt/render/project/src/.venv/lib/python3.7/site-packages/openai/api_requestor.py", line 683, in _interpret_response_line Mar 27 09:14:54 AM rbody, rcode, resp.data, rheaders, stream_error=stream_error Mar 27 09:14:54 AM openai.error.AuthenticationError: Incorrect API key provided: sk-GAl2r***************************************7Z71. do you have any comments?
@rajkkapadia
@rajkkapadia Жыл бұрын
It says the API key is incorrect, check that in the environment variables section...
@mdctw8361
@mdctw8361 Жыл бұрын
@@rajkkapadia I need put api key in environment? how to do that
@mdctw8361
@mdctw8361 Жыл бұрын
@@rajkkapadia the key show in error messgae : sk-GAl2r***************************************7Z7 is correct
@rajkkapadia
@rajkkapadia Жыл бұрын
@@mdctw8361 I request you to watch the video one more time carefully...
@mdctw8361
@mdctw8361 Жыл бұрын
@@rajkkapadia OK I will watch it Thanks.
@DouglasLai-s9g
@DouglasLai-s9g Жыл бұрын
Hi your tutorial is great but I would say the terminal of VS code is too small to watch. It would be great if you magnify or make it large in order to see what you have typed. Now it is too small and please remember that not all your audiences have English background.
@rajkkapadia
@rajkkapadia Жыл бұрын
Thank you, I highly appreciate your feedback, I will implement these things in all the upcoming videos...
@nehaverma3550
@nehaverma3550 2 жыл бұрын
Thankyou sir !
@amandeepthakur7847
@amandeepthakur7847 Жыл бұрын
how to upload more than 100mb file on github?
@rajkkapadia
@rajkkapadia Жыл бұрын
Don't upload large files in Github, instead download them when you run the program...
@amandeepthakur7847
@amandeepthakur7847 Жыл бұрын
@@rajkkapadia i want to deploy my project on free hosting platform like render so need to upload it on GitHub
@polarbeargc7491
@polarbeargc7491 Жыл бұрын
This is way simpler to set up than aws. I hate Linux system
@rajkkapadia
@rajkkapadia Жыл бұрын
Linux is appreciated everywhere...
@fadilarfat4974
@fadilarfat4974 Жыл бұрын
too bad render is not free no more
@rajkkapadia
@rajkkapadia Жыл бұрын
I am not sure about your resources on this, but I can confirm that Render is free at the time I am writing this...
@fadilarfat4974
@fadilarfat4974 Жыл бұрын
@@rajkkapadia i guess it is free but you still have to put your cc information in order to use it
How to Deploy a Flask App to Render | Flask Render Deployment
11:04
Arpan Neupane
Рет қаралды 10 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Best Platforms to Host Python Apps (for free!!)
9:50
Patrick Loeber
Рет қаралды 140 М.
Heroku Is Dead, Here's What I Recommend
11:59
Theo - t3․gg
Рет қаралды 269 М.
How to Deploy Python Flask Application on Render for free
9:19
ModernWorld🌍⬅️
Рет қаралды 298
How to Deploy a Flask App and Postgres Database to Render
16:39
Pretty Printed
Рет қаралды 50 М.
Deploy Your Streamlit App To Render (Free Heroku Alternative)
9:51
Coding Is Fun
Рет қаралды 67 М.
Deploy Python Web Apps for FREE on GitHub Pages using GitHub Actions | Flet
9:33
Henri Ndonko - TheEthicalBoy
Рет қаралды 8 М.
Railyway is The New Heroku
8:43
NeuralNine
Рет қаралды 19 М.
Deploy Python Flask on Azure App Service 2024
19:29
ITAnna
Рет қаралды 6 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН