PLEASE READ EVERYTHING INCLUDED IN THIS MESSAGE: vercel.json code: { "builds": [{ "src": "djangoprojectname/wsgi.py", "use": "@vercel/python", "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: th-cam.com/video/JQVQcNN0cXE/w-d-xo.html 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: th-cam.com/video/AgTr5mw4zdI/w-d-xo.html ----- PLEASE READ -------------- ALTERNATE DEPLOYMENT METHODS: Deployment with PythonAnywhere: th-cam.com/video/xtnUwvjOThg/w-d-xo.html Deployment with Render: th-cam.com/video/AgTr5mw4zdI/w-d-xo.html
It is a great pleasure, Syed! I'm very glad to hear that you managed to deploy your project successfully! Thank you for your positive comment, and feedback! All the best!
Thank you so much! It works! I didn't have time to watch full video I just checked key points, but I noticed that actually you don't need to create a new github repo. You just can set direction when you deploying to vercel from UI
My pleasure! I'm glad that you found the tutorial useful and that it works for you! Yes, there are many ways to do this, and you are right, you can set the direction as well.
I am getting something from your voice, you studied in the UK for a while and lived there for a while but you are not originally from there. your accent is faint but still audible.
Hi, When you deploy a project. It is advised to not deploy a full project with multiple dependencies. I would suggest that you start with minimal packages and work your way up. Good luck!
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?
I need answers please, I tried deployment on pythonanywhere from your other video and in the middle of the process i noticed that the app will run for only 2 months, is there any hosting platform that hosts mini apps for free ?
Hi. Unfortunately you cannot have a deployed app for free forever. You would need to pay eventually and this goes for every platform. Free tiers are usually intended for testing and development purposes only and not for long term development.
Hi Qais, Thank you for reaching out and for your feedback. You should be able to check everything that you need in Django admin in terms of your models.
Hi Kerry, Thank you for reaching out, This documentation should serve as a good starting point for your aim: vercel.com/docs/concepts/projects/environment-variables Good luck!
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?
@@CloudWithDjango Thanks for responding. I did try but ended up with the following error: Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb Command 'pkg-config --exists mariadb' returned non-zero exit status 1. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requir I verified all my files in requirements.txt and all looks fine. Any tips, where did I go wrong?
Love it.. Successfully Deployed but SQLite DB becomes Read only on vercel. So i have to change my database to PostGRESQL or some other. wish me good luck.
Glad that you liked the video. For PostgreSQL, I'd refer to the pinned comment on deploying to Render, there is a part of the video which is valid for generating and setting up a PostgreSQL database. Hope that helps! Good luck!
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 ?
thank you for the great tutoriel but i have an error This Serverless Function has crashed. with 500 error after searching i found that vercel doesn't support models and after getting deeper i also found that it supports models but the problem is in sqlite is that true!
Helpfull video👍...but when i try to deploy very simple django restapi with image upload capability it gave me internal server error deterministic=True requires SQLite 3.8.3 or higher
Hi, Please double check your settings and packages. It's better to deploy first with minimal packages and then to scale up. If however, you are still struggling feel free to check out my PythonAnywhere tutorial: th-cam.com/video/xtnUwvjOThg/w-d-xo.html
Hi, cool video! Followed all your steps but Im getting a 500 error when trying to deploy with message: Unknown application error occurred Runtime.Unknown
Hi Francisco, Thank you for your feedback. If you are struggling to deploy your app on Vercel. I would suggest either trying PythonAnywhere or Render. I have a few tutorials on those alternatives on the channel. Good luck!
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
Hello sir @CloudWithDjango I hope you are doing well 😌 I have created a machine learning project which contains tensorflow i tried to deploy it but it says "ERROR: No matching distribution found for tensorflow-intel==2.17.0" Again in the stack overflow i have seen that tensorflow is not compatible with version above 3.12 So I removed python from local machine and then I have installed 3.10 still got the same error To be honest I tried the whole day the same error arises again and again can you tell me how to fix the error please
Hi, Please double check your configuration settings. I'd also recommend that you make sure that your application is working locally. Additionally, I'd suggest deploying on your first time with minimal packages.
Thank you for great video! I deployed my django project successfully, but later on when I added django rest framework to my project and committed to github, my app crashed on vercel. I got error messages that says "no module named 'rest framework' ". When I pip installed rest framework, virtual environment was active, I also included it to requirements.txt and to my settings in installed apps. I can't find solution on the web, do you have ideas why it is happening?
Hi Santiago, My pleasure, I'm glad that my tutorial was of value to you. Thank you for the detail. This is most likely because you are using a newer rest_framework package version which could be in conflict with Vercel's compatibility. Sometimes Vercel takes time to catch up with the latest modules and packages. I'd suggest deploying your django app with the rest_framework package on either Render (it is much more reliable and production-ready than Vercel) Render tutorial -> th-cam.com/video/AgTr5mw4zdI/w-d-xo.html Good luck!
Hi, Thank you for reaching out. You are more than welcome to reach out to me via the following link on the Cloud With Django website: www.cloudwithdjango.com/coaching/
Invalid request: `build` should be object Hey there, everything worked fine until I pressed deploy and it showed me this error message, any idea how to solve it?
Hi, Please check your packages (start simple) and double check your settings. If you are still struggling please see my video tutorial with PythonAnywhere below (it should serve as a better alternative): th-cam.com/video/xtnUwvjOThg/w-d-xo.html Good luck!
Thank you for your suggestion. For more information on static files please read the pinned comment or you can check out my static file video tutorials with cloudinary (on the channel).
Hi, No, you cannot. I'd recommend that you use the version demonstrated in the course. Anything in the 3.9 series should be fine. You will need to do some testing via trial and error.
Hi, I think your application is too large. I'd suggest cutting down on it's size (if possible) or perhaps deploying with PythonAnywhere or Render. I do happen to have tutorials on the channel to help if you plan to use either of these alternatives. Good luck!
hellio i followed your tutorial and i keep getting this error [ERROR] Runtime.ImportModuleError: Unable to import module 'vc__handler__python': No module named 'django' Traceback (most recent call last): I've tried to search & fix the error, but I'm not getting any answer can you help out ?
Hm, your app was built in 2 minutes, my app - is 3 seconds and after, when opening the page, have an vercel error: 404: NOT_FOUND. Code: NOT_FOUND. Why? Did as you step by step
Hi, Yes, everything is step by step. It is recommended to take some time before opening your page. I'd also suggest double checking your configuration and application size before you deploy.
@@CloudWithDjango I sit on this all day. Also, I used demo project by vercel and add some changes and this project has been crushed, too. On my local machine works well both projects. No error in logs on versel
My pleasure! Please check your configuration settings and packages. I'd also recommend using s3 for static files and railways postgres database to help prevent additional issues
Hi, To use mobile code verification with Vercel may prove to be challenging. I'd rather recommend checking out my other video tutorial on Render: th-cam.com/video/AgTr5mw4zdI/w-d-xo.html Good luck!
Hi, If you are struggling to deploy your app on Vercel. I do have alternatives on the channel, such as Render and PythonAnywhere. Perhaps, these alternatives will be better for your application.
thank you for your effort ! it's not sending me any code verification .. is there any solution to this? and what other hosts can I deploy my django project to for free ?
Hi, No problem. I'm sorry, I'm not sure what you mean with code verification? Perhaps your application has unique requirements, that other platforms can only satisfy. So, I wouldn't know about that. Yes, you can deploy to Railway, Render or PythonAnywhere for Free. I have video tutorials on Render and PythonAnywhere on the channel, so perhaps that will assist you. Good luck!
@@CloudWithDjango it seems that most free plans on host servers are limited like pythonanywhere and render, are there other sites that provide larger space for example 2GB?
Yes, all free options on all platforms will have a limit. You will just need to try what is available (Railway, Render, PythonAnywhere), and if your project is too large, then you will have to upgrade your tier.
I got this error: WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: (link) Error: Unable to find any supported Python versions.
@@CloudWithDjango Have you ever seen bug likes while deploying "pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt"
Hi, Then it maybe that your application is too large. I would suggest either deploying then with Render or PythonAnywhere. I have tutorials that explain these alternatives!
PLEASE READ EVERYTHING INCLUDED IN THIS MESSAGE:
vercel.json code:
{
"builds": [{
"src": "djangoprojectname/wsgi.py",
"use": "@vercel/python",
"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:
th-cam.com/video/JQVQcNN0cXE/w-d-xo.html
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:
th-cam.com/video/AgTr5mw4zdI/w-d-xo.html
----- PLEASE READ --------------
ALTERNATE DEPLOYMENT METHODS:
Deployment with PythonAnywhere:
th-cam.com/video/xtnUwvjOThg/w-d-xo.html
Deployment with Render:
th-cam.com/video/AgTr5mw4zdI/w-d-xo.html
I get Error: The build result from "@ardnt/vercel-python-wsgi" is missing the "output" property. do you know to do next?
It still works in July 2024. Thank you for the help!!!
My pleasure! Glad that it still works!
Thank you for the video !!! Straight to the point.
I deployed my Django project successfully on Vercel. Wish you good luck.
It is a great pleasure, Syed!
I'm very glad to hear that you managed to deploy your project successfully!
Thank you for your positive comment, and feedback!
All the best!
Finally I am able to deploy my app. Great explanation. Thanks a lot.
I'm glad to hear that you managed to deploy your app.
Thank you for your polite feedback! It is a pleasure!
Thank you very much for your help, I managed to deploy using Vercel. Hugs from Brazil.
My pleasure! I'm very glad to hear that you managed to deploy your app using Vercel! All the best to you! :)
Hey, didn't it gave error while deploying due to python version 9.10 or 11? Did you managed to find other way around
Thank you so much! It works! I didn't have time to watch full video I just checked key points, but I noticed that actually you don't need to create a new github repo. You just can set direction when you deploying to vercel from UI
My pleasure! I'm glad that you found the tutorial useful and that it works for you! Yes, there are many ways to do this, and you are right, you can set the direction as well.
Wow this worked like a charm, thank you very much! Definitely subscribing!
I'm glad that everything worked well for you!
Of course, my pleasure!
Thank you for the Sub! I appreciate it!
It still working in October 2024. Thank you for help, it's great👍
I'm happy to hear that everything is working nicely for you! Of course, my pleasure! Glad that it was helpful!
This was more than helpful for metoday...
I'm glad that it helped you!
Hello do you have a video on how to do this, but for django static files like html, css and Js
Hi,
Support for static files is available in the pinned comment. You can set that up before deploying to Vercel.
Thanku show much bro. Finally I have deployed my website
My pleasure, Swapnil!
I'm very glad to hear that!
All the best :)
I am getting something from your voice, you studied in the UK for a while and lived there for a while but you are not originally from there. your accent is faint but still audible.
Bro thinks he's Sherlock Holmes 💀
Thank you man. Is this gonna work with static files?
My pleasure!
You would need to either use whitenoise or Amazon S3 for static files. More information is available under the pinned comment.
Hey, I am using opencv in project and when I deploy on vercel this shows data too long error, if possible then please help
Hi,
When you deploy a project. It is advised to not deploy a full project with multiple dependencies. I would suggest that you start with minimal packages and work your way up.
Good luck!
Muito-obrigado, me ajudou muito.
My pleasure! Glad that it helped!
Thank you so much! Very informative and easy to follow
Thank you very much! I appreciate the feedback!
It is a pleasure! :)
Thanks for this , helped me host it , very simple and easy
My pleasure! I'm glad that it helped you! All the best to you!
I have a doubt how to deploy reactjs and django project in vervel
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?
have you tried doing it with linode?
Did you find any fix???
I need answers please, I tried deployment on pythonanywhere from your other video and in the middle of the process i noticed that the app will run for only 2 months, is there any hosting platform that hosts mini apps for free ?
Hi. Unfortunately you cannot have a deployed app for free forever. You would need to pay eventually and this goes for every platform. Free tiers are usually intended for testing and development purposes only and not for long term development.
Plz make a video on how to access postgres database on render I deployed my app successfully but I dont know how to check the tables
Hi Qais,
Thank you for reaching out and for your feedback.
You should be able to check everything that you need in Django admin in terms of your models.
Hey man, any idea how I can set up environment variables with django on vercel
Hi Kerry,
Thank you for reaching out,
This documentation should serve as a good starting point for your aim:
vercel.com/docs/concepts/projects/environment-variables
Good luck!
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?
Hi,
It's a pleasure!
It depends on your overall application structure I would say. Best way to find out, is to try and see.
@@CloudWithDjango Thanks for responding. I did try but ended up with the following error:
Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb Command 'pkg-config --exists mariadb' returned non-zero exit status 1. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requir
I verified all my files in requirements.txt and all looks fine.
Any tips, where did I go wrong?
Thanks bro, it really helped me.
My pleasure! I'm glad that it helped!
Awsome tutorial, great job and big thanks ♥
Thank you so much!
It is a pleasure! :)
Love it.. Successfully Deployed but SQLite DB becomes Read only on vercel. So i have to change my database to PostGRESQL or some other. wish me good luck.
Glad that you liked the video. For PostgreSQL, I'd refer to the pinned comment on deploying to Render, there is a part of the video which is valid for generating and setting up a PostgreSQL database. Hope that helps! Good luck!
Thanks a lot 💫@@CloudWithDjango
My pleasure!
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 ?
Love you meri Jan 🥰 kam asan kr diya ha tu na
Thank you!
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
Hi,
You don't need to deploy separately.
There is a database mastery video on my channel that will assist you.
Good luck!
not really happy with the copying part, passing some secret variables maybe?
Secret variables? I'm sorry, I'm not sure what you mean. We use configuration settings to setup our application in Vercel.
10K subs soon. Thanks!
My pleasure! Haha... I've still got quite the way to go, but one day :)
Thank you!
during deployment, vercel says serverless function unzipped size 250mb exceeded,how to fix this
Hi,
Please double check the size of your application. Minimal is always best as a first.
Big help of this tutorial! gonna upload and deploy my django project soon
I'm glad to hear that my tutorial was helpful to you! Good luck!
How we can upload the staticfiles too?
Hi,
Please kindly read the pinned comment for more information.
can we use this to host asgi?
For chat app
Hi,
I'd suggest testing this out for clarification
i wanna host here but with my own domain. how can do that
Hi. Here is some information on doing so:
vercel.com/docs/projects/domains/add-a-domain
So i deployed my website bt it's rendering only HTML can u help me how i can get access to terminal and run the collect static command???
Hi,
I would recommend using amazon s3 buckets. It's much easier to do it that way. I didn't use Vercel for that.
thank you! great explanation
Thank you for your feedback! :)
It is a pleasure!
thank you for the great tutoriel
but i have an error This Serverless Function has crashed. with 500 error
after searching i found that vercel doesn't support models and after getting deeper i also found that it supports models but the problem is in sqlite is that true!
Hi,
It's possible that your application is too large, and as a test you can change your database from sqlite to possibly postgres.
@@CloudWithDjango yep this you this what i'm trying to do
Helpfull video👍...but when i try to deploy very simple django restapi with image upload capability it gave me internal server error deterministic=True requires SQLite 3.8.3 or higher
Thank you! Please use another database such as postgres or mysql and not sqlite.
is this SSL? and can i use react as frontend
Hi,
No, you would need to use an SSL certificate. You can but you need to configure react in certain way for it work.
what about databases my app have one
I'd recommend using postgres for production environments
I have successfully deployed but the Image in the website is missing.
What should I do ?
Hi,
Please read the pinned comment on Amazon s3.
Thank you for the video. I got this error after deploying :
NotSupportedError at /
deterministic=True requires SQLite 3.8.3 or higher
No problem.
Yes, please use a MySQL or PostgreSQL database instead of the default SQLite database.
Does it work with a django rest framework project?
Hi,
The best way to know would be try and see with your project.
it's almost 30 minutes..the basic django website is still not deployed..anyone facing the same issue..pls suggest
Hi,
Please double check your settings and packages. It's better to deploy first with minimal packages and then to scale up.
If however, you are still struggling feel free to check out my PythonAnywhere tutorial:
th-cam.com/video/xtnUwvjOThg/w-d-xo.html
@@CloudWithDjango Thanks man..The issue got sorted
My pleasure! I'm glad to hear that!
Hi, cool video! Followed all your steps but Im getting a 500 error when trying to deploy with message: Unknown application error occurred Runtime.Unknown
Hi Francisco,
Thank you for your feedback.
If you are struggling to deploy your app on Vercel. I would suggest either trying PythonAnywhere or Render. I have a few tutorials on those alternatives on the channel.
Good luck!
The error 500 happened for me because I hadn't turned DEBUG=False
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
Hi,
I would suggest that you take a look at the other deployment videos on my channel or investigate further in regards to the Vercel docs.
Good luck!
Can you make a video deploy django and reactjs project in vercel.....
Thank you for your suggestion.
Thanks a lot🥰
My pleasure!
does this work with POST API ? I tried but keep saying "Authenticating" only
The project here isn't based on API's so, I'd suggest reading the Vercel docs on additional information
it worked 😭😭🚀🚀🔥🔥
I'm glad to hear that!
Hello sir @CloudWithDjango
I hope you are doing well 😌
I have created a machine learning project which contains tensorflow i tried to deploy it but it says "ERROR: No matching distribution found for tensorflow-intel==2.17.0"
Again in the stack overflow i have seen that tensorflow is not compatible with version above 3.12
So I removed python from local machine and then I have installed 3.10 still got the same error
To be honest I tried the whole day the same error arises again and again can you tell me how to fix the error please
Hi,
I hope that you are doing well! :)
Please refer to the pinned comment for alternate deployment methods
I got error: OSError: [Errno 30] Read-only file system in Django
when I tried to upload image in django production vercel. How can I solve it?
Hi,
Please double check your configuration settings. I'd also recommend that you make sure that your application is working locally.
Additionally, I'd suggest deploying on your first time with minimal packages.
I get 'deterministic=True requires SQLite 3.8.3 or higher' what should I do
Hi,
Please use MySQL or PostgreSQL as your database. Additional information is provided in the pinned comment.
Thank you for great video!
I deployed my django project successfully, but later on when I added django rest framework to my project and committed to github, my app crashed on vercel. I got error messages that says "no module named 'rest framework' ".
When I pip installed rest framework, virtual environment was active, I also included it to requirements.txt and to my settings in installed apps.
I can't find solution on the web, do you have ideas why it is happening?
Hi Santiago,
My pleasure, I'm glad that my tutorial was of value to you.
Thank you for the detail.
This is most likely because you are using a newer rest_framework package version which could be in conflict with Vercel's compatibility. Sometimes Vercel takes time to catch up with the latest modules and packages.
I'd suggest deploying your django app with the rest_framework package on either Render (it is much more reliable and production-ready than Vercel)
Render tutorial ->
th-cam.com/video/AgTr5mw4zdI/w-d-xo.html
Good luck!
Got it. Thank you so much, I appreciate your help:)
@@santiagomunez4214 My pleasure! :)
All the best!
how can I take care of my static images for my Django project?
Hi,
Please read the pinned comment for additional information.
@@CloudWithDjango amazon doesn't provide a free solution to host images. Do you know a free service that can help?
Hi,
If you are new to AWS, you will be eligible for the free tier with Amazon S3.
shorturl.at/blsR7
Or you can use cloudinary.
Good luck!
@@CloudWithDjango if you're free I'd love to have a zoom call with you where I'll explain my issue during deploying my django project.
Hi,
Thank you for reaching out.
You are more than welcome to reach out to me via the following link on the Cloud With Django website:
www.cloudwithdjango.com/coaching/
Bro how much time it will take for deployment
Hi,
It shouldn't take long. Please make sure that you set everything up correctly.
@@CloudWithDjango bro please make a vedio for updated version of python 3.10.11
Sir, it deployed but why does my css doesn't apply? although I used internal CSS.
Hi,
Please read the pinned comment.
Good work
Thank you!
Can i integrate Adsence on free tier?
Hi,
It's unlikely that you would be able to do so, since you would need a stable website up and running, since the free tier is limited.
how to do react with django and verecel
Hi,
This is not covered in this video, I'm afraid
@@CloudWithDjango hey, will the steps remain same?
They probably will not
Invalid request: `build` should be object
Hey there, everything worked fine until I pressed deploy and it showed me this error message, any idea how to solve it?
Hi,
Please check your packages (start simple) and double check your settings.
If you are still struggling please see my video tutorial with PythonAnywhere below (it should serve as a better alternative):
th-cam.com/video/xtnUwvjOThg/w-d-xo.html
Good luck!
Can I deploy in vercel if I have a integrated payment gateway?
Hi, I'd suggest experimenting to check. That would be your best bet.
How to create requirement.txt
You can use this command:
pip freeze > requirements.txt
Thanks brother.😄
My pleasure!
@@CloudWithDjango Could you make a video showing how to deploy a static django website on vercel?
Thank you for your suggestion. For more information on static files please read the pinned comment or you can check out my static file video tutorials with cloudinary (on the channel).
What if we have more than one endpoints??
Hi,
If you have more than one endpoint, you are going to have to modify your application and structure, and do some external research.
what if i have database then does it work
Hi,
You would need to test your application to find out. That being said, you shouldn't have any issues.
It shows a 404 error as soon as the project is deployed. I dont see any errors on the local server. Where could i have gone wrong?
Hi,
Please ensure that you follow all of the steps correctly and allow for some time before you access your application after deployment
When i wrote ..pip freeze> requirements.txt , i m getting error that -- pip is not recognise
Hi,
Most likely this issue will arise if you haven't installed Python correctly on your system/device.
Can I use python 3.10.7 for this because render does not support python 3.10.7
Hi,
No, you cannot. I'd recommend that you use the version demonstrated in the course. Anything in the 3.9 series should be fine. You will need to do some testing via trial and error.
@@CloudWithDjango Thanks
Is it possible to import the db ?
Hi,
Yes, I'd suggest using postgres from Render
Mine is showing 404 not found but the app run very well locally please help me
Hi,
I'd suggest kindly double checking the steps in the video or to kindly refer to the pinned comment
Hi, im getting "A Serverless Function has exceeded the unzipped maximum size of 250 MB." ERROR, could u help me?
Hi,
I think your application is too large. I'd suggest cutting down on it's size (if possible) or perhaps deploying with PythonAnywhere or Render. I do happen to have tutorials on the channel to help if you plan to use either of these alternatives.
Good luck!
Can i host django restapi with sqlite in vercel ?
Hi,
it should be possible. I would recommend giving it a try and seeing how it goes.
After deployment I am getting an error 404
I have created a simple project of login and registeration form😢
Please ensure that you followed all the steps correctly.
This Serverless Function has crashed.
Help me ....
Hi,
Please read the pinned comment for an alternative deployment method.
@@CloudWithDjango can i get your discord so that i could get help deploying
hellio
i followed your tutorial and i keep getting this error
[ERROR] Runtime.ImportModuleError: Unable to import module 'vc__handler__python': No module named 'django'
Traceback (most recent call last):
I've tried to search & fix the error, but I'm not getting any answer
can you help out ?
Hi,
Please refer to the pinned comment for alternate deployment methods.
I tried to upload my django project they are giving 404 error. need urgent help please
Hi, please kindly refer to the pinned comment
Hm, your app was built in 2 minutes, my app - is 3 seconds and after, when opening the page, have an vercel error: 404: NOT_FOUND. Code: NOT_FOUND. Why? Did as you step by step
Hi,
Yes, everything is step by step. It is recommended to take some time before opening your page.
I'd also suggest double checking your configuration and application size before you deploy.
@@CloudWithDjango I sit on this all day. Also, I used demo project by vercel and add some changes and this project has been crushed, too. On my local machine works well both projects. No error in logs on versel
hey Thanks for this video. I have deployed my website of todolist but getting the server error(500) after the Register and Login Page
My pleasure!
Please check your configuration settings and packages.
I'd also recommend using s3 for static files and railways postgres database to help prevent additional issues
Login issue
I cant submit my mobile code verification
Got error when enter my mobile an press continue
Error :unexpected error
Hi,
To use mobile code verification with Vercel may prove to be challenging.
I'd rather recommend checking out my other video tutorial on Render:
th-cam.com/video/AgTr5mw4zdI/w-d-xo.html
Good luck!
hi, i got error like this "A Serverless Function has exceeded the unzipped maximum size of 250 MB" i use python3.10. its okay?
Hi,
If you are struggling to deploy your app on Vercel. I do have alternatives on the channel, such as Render and PythonAnywhere. Perhaps, these alternatives will be better for your application.
Hi, How did you fix this?
@@Sxxlex not finished yet
@@carokowasesoyekti4440 oh okay cool, I am experiencing the same, not sure how to circumvent that.
all the best
thank you for your effort ! it's not sending me any code verification .. is there any solution to this? and what other hosts can I deploy my django project to for free ?
Hi,
No problem. I'm sorry, I'm not sure what you mean with code verification? Perhaps your application has unique requirements, that other platforms can only satisfy. So, I wouldn't know about that.
Yes, you can deploy to Railway, Render or PythonAnywhere for Free.
I have video tutorials on Render and PythonAnywhere on the channel, so perhaps that will assist you.
Good luck!
@@CloudWithDjango it seems that most free plans on host servers are limited like pythonanywhere and render, are there other sites that provide larger space for example 2GB?
Yes, all free options on all platforms will have a limit.
You will just need to try what is available (Railway, Render, PythonAnywhere), and if your project is too large, then you will have to upgrade your tier.
Hmm, I coppy the content and change its project name, but I got the error : Invalid JSON content inside file "vercel.json"
Hi,
I'd suggest double checking your configuration
I got the same error, and i double checked it. How to solve this
I got this error:
WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: (link)
Error: Unable to find any supported Python versions.
Hi,
Please double check your settings or kindly refer to the pinned comment for alternative deployment methods
Please make a video deploy django and reactjs project in vercel...
Thank you for your suggestion!
@@CloudWithDjango No one can make a video combined reactjs and django project deploy in vercel
Please can you make a videooo
Thank you for the suggestion!
Im getting 404 not found error after deploying
Hi,
Please kindly refer to the pinned comment
404 not found error please help to resolve this
Hi. Please double check your steps
Hey guys , I got a problem in deploy progreess that is 500: FUNCTION_INVOCATION_FAILED.Could u tell me How to solve it ? Thank you
Hi,
Please be sure to double check your steps and to also ensure that your application isn't too large
@@CloudWithDjango Have you ever seen bug likes while deploying "pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt"
Yes, I have. A simply solution would be to instead deploy with Render or PythonAnywhere.
after deployment its says 404 not found
Hi. Please double check your steps, otherwise please kindly refer to the pinned comment
But vercel doesn't support sqlite.
Hi. Please kindly refer to the pinned comment for additional detail
I got 404:NOT_FOUND error when i deployed. Why?...solution for it?
Hi
Please read the pinned comment
Hi i get deterministic=True requires sqlite 3.8.3 or higher error
Hi,
Please either upgrade your django version OR use a different database such as postgres or mysql.
@@CloudWithDjango ok thanks
Pleasure.
Good luck!
Hey bro I updated database to psql but now I get This Serverless Function has crashed error 😭
Hi,
Then it maybe that your application is too large. I would suggest either deploying then with Render or PythonAnywhere. I have tutorials that explain these alternatives!
Your serverless connection has crashed problem
Hi,
Please double check your configuration settings and refer to the pinned comment.
why 3.9? vercel don't support 3.11?
Hi,
This video was made a while back to cater for 3.9, you can try 3.11.
how to deploy django and react
You do them independently what im planning to do is deploy django first then react
how to migrate and how to setup media and templates with debug = False
Hi,
Please read the pinned comment.
@@CloudWithDjango I fixed it at my own.. Pls tell me how much db load vercel can handle and how much storage is provided
If we don't have the database, it will not work.
Hi,
Support is given under the pinned comment for this
How to deploy reactjs and django project in vercel
I am your subscriber please make a video sir
Thank you for your suggestion and for your support.