Deploy a Django web app to Vercel [FREE]

preview_player
Показать описание
Deploy a Django web app to Vercel

Important links:

💻 | Website:

🧑‍🏫 | Courses:

📑 | Blog:

📢 | Coaching:

💼| Join the Slack community:

❤️ | Support:

🎮 | Twitch:
Рекомендации по теме
Комментарии
Автор

PLEASE READ EVERYTHING INCLUDED IN THIS MESSAGE:

vercel.json code:

{
"builds": [{
"src": "djangoprojectname/wsgi.py",
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
}],
"routes": [
{
"src": "/(.*)",
"dest": "djangoprojectname/wsgi.py"
}
]
}

IMPORTANT NOTE:

Hi all,

Please note that you will have to setup your static and media files as well - I'd suggest using Amazon S3.

Here is a tutorial on how to setup Amazon S3:



You will also have to setup your database as well - I'd recommend using a PostgreSQL database.

Here is a tutorial on how to setup a PostgreSQL database with Render for FREE:


PLEASE READ

ALTERNATE DEPLOYMENT METHODS:

Deployment with PythonAnywhere:

Deployment with Render:

CloudWithDjango
Автор

Thank you for the video !!! Straight to the point.
I deployed my Django project successfully on Vercel. Wish you good luck.

soft_ray_technologies
Автор

Wow this worked like a charm, thank you very much! Definitely subscribing!

NikolaPanajotovic
Автор

It still works in July 2024. Thank you for the help!!!

ctzgezm
Автор

Thank you very much for your help, I managed to deploy using Vercel. Hugs from Brazil.

gimjfgg
Автор

Awsome tutorial, great job and big thanks ♥

tonnyg
Автор

Finally I am able to deploy my app. Great explanation. Thanks a lot.

natashasen
Автор

Thank you so much! Very informative and easy to follow

hattrickmotorsport
Автор

man i need a little help. in my django app i use "Tesseract" called OCR application that i need to install in order to work my application properly. how could i install that "Tesseract" app to vercel when i'm deploying my django appliication ?

kluchtube
Автор

I have a doubt how to deploy reactjs and django project in vervel

jayarammishalu
Автор

Thanku show much bro. Finally I have deployed my website

swapnilkumarrai
Автор

hi, my django project has react as frontend. i tried exactly how you did on the video & it was deployed but the pages are not rendering. it only shows white page with nothing in it. again, I did exactly how you said. how do I get my react routes deployed?

naimursharon
Автор

Thanks for this, helped me host it, very simple and easy

programmersheart
Автор

Hey man, any idea how I can set up environment variables with django on vercel

kerryonyeogo
Автор

Hello bro please reply i had implemented a real estate website in django with mangodb db database for login and signup and some other works is any extra setting required for deployment of project with database in vercel please tell

Sandeep-pxuk
Автор

Hey, I am using opencv in project and when I deploy on vercel this shows data too long error, if possible then please help

psffpew
Автор

This was more than helpful for metoday...

onimimbenstowe
Автор

Big help of this tutorial! gonna upload and deploy my django project soon

joshuadelrosario
Автор

I have my database in my sql on local host, Do i have to deply that seperately?
If yes then could u suggest me any video for it

aaryankedia
Автор

Hey, Thanks for the video, I had one question.
Referencing it to your case. What if we dont have the dev file and put the first elevate file onto github?
It should still work right?

aaryankedia