How to Deploy a Fullstack Django Web App on Vercel.

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 244

  • @abdurrahmaan3901
    @abdurrahmaan3901 5 місяців тому +1

    Who all are facing "pip not found" error, change node version from 20.x to 18.x in project deployment setting and redeploy

  • @Isiaka-qt1fj
    @Isiaka-qt1fj Місяць тому

    Thats what we need, a clear,logical, descriptive and easy to understand tutorial, Thanks

  • @attahchristian6699
    @attahchristian6699 11 місяців тому

    You are doing well brother, no unnecessary terminologies, no unnecessary explanation, just straight to the point with each steps clear and easy to follow.

  • @daveanvs
    @daveanvs Рік тому +2

    thanks Clinton, its the only tutorial i have found so far that actually worked for me

  • @alejandra-garcias
    @alejandra-garcias Рік тому

    your work is amazing, I have successfully deployed my django aplication

  • @arcadianthenics7535
    @arcadianthenics7535 Рік тому

    a very greate and accurate content thank you brother i was trying to my app from last few weeks but geettng an error just and seach searched everywhere but no one is teaching about that dabase content the way you did..... thanks once again...

  • @christiannwachukwu8709
    @christiannwachukwu8709 Рік тому

    Mine wasn't deploying, I think it was due to my project structure.
    But it's working now, thanks a lot.
    I really like your videos.

  • @allanbakwanamaha2998
    @allanbakwanamaha2998 Рік тому

    Thank you for sharing this resourceful content. Great love from Uganda

  • @xx482
    @xx482 Рік тому

    Thanks a lot for this video
    It is straight forward, not complicated as heroku

  • @anna_lorencova
    @anna_lorencova Рік тому

    THANK YOU! :) amazing job and ty for amazing up to date tutorial

  • @douglasemmanuel7175
    @douglasemmanuel7175 9 місяців тому

    Great work Clinton , actually am getting 500 error serverless function crash

  • @suyogtandel5249
    @suyogtandel5249 4 місяці тому

    Thanksss mannn!!!, You Helped me...

  • @oselumeseagbonrofo5327
    @oselumeseagbonrofo5327 Рік тому

    Great video. Thanks bro

  • @MdAkram-vs5jj
    @MdAkram-vs5jj 10 місяців тому

    Thanks dude helped me a lot👍

    • @CodeWithClinton
      @CodeWithClinton  10 місяців тому

      You're welcome.

    • @MdAkram-vs5jj
      @MdAkram-vs5jj 10 місяців тому

      @@CodeWithClinton Also I get this error while uploading the images that it is a read only file and doesn't upload any image.. is there any video regarding that or you have any info about it

    • @MdAkram-vs5jj
      @MdAkram-vs5jj 10 місяців тому

      OSError: [Errno 30] Read-only file system: '/var/task/media' this is the error and when i search for it, it is related to storage issues for media and mentions me to use AWS lambda for media files so can you make a video regarding that

  • @CodeWithClinton
    @CodeWithClinton  Рік тому +15

    Add the lines of code below into your vercel.json file.
    {
    "version": 2,
    "builds": [
    {
    "src": "projectname/wsgi.py",
    "use": "@vercel/python",
    "config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
    },
    {
    "src": "build_files.sh",
    "use": "@vercel/static-build",
    "config": {
    "distDir": "staticfiles_build"
    }
    }
    ],
    "routes": [
    {
    "src": "/static/(.*)",
    "dest": "/static/$1"
    },
    {
    "src": "/(.*)",
    "dest": "projectname/wsgi.py"
    }
    ]
    }

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @AMIRUL BIN ABD LATIB watch the video and follow the exact steps I took.

    • @legendsanimexy8217
      @legendsanimexy8217 Рік тому

      ​@@CodeWithClintonI want to host my e-commerce website which i have made in django . But I am facing problems

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @@legendsanimexy8217 what issue are you facing.

    • @legendsanimexy8217
      @legendsanimexy8217 Рік тому

      Everything is working fine but after i deploy the project it's giving me a error . Like 404 not found . When i click that it's showing 402: DEPLOYMENT DISABLED .
      please reply

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @@legendsanimexy8217 I can't recommend a solution from here.

  • @hassanghani8039
    @hassanghani8039 9 місяців тому +1

    is it possible that we can deploy our full fledge django Ecom site with postgresql database in the same process which you are telling us in this video

  • @CodeForChange
    @CodeForChange 10 місяців тому

    great content thank you

  • @SylvesterStadham
    @SylvesterStadham 5 місяців тому

    Thanks for This, How do we store staticfiles in vercel blob

  • @anthonychianain2241
    @anthonychianain2241 Рік тому

    Hey! Thanks so much for your help out there!! It seems I saw one of your different video too, "deploying Django to Digital ocean'..
    Hm am thinking you are from Nigeria, if true please, am from Bamenda-Cameroon,, do you have an idea which financial institutions operate in Nigeria or even Cameroon their Cards are less likely to be declined by Digital ocean?....
    I have been facing hard times to complete my account creation in digital ocean because my card keep being declined..( using a debit card optained from UBA)
    Please if you can help a bro, please do🙏.. just a little information about which banks in Africa are not being declined

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Sorry for the late response, I used a friend's dollar card to signup on Digitalocean, try using ChipperCash.

    • @anthonychianain2241
      @anthonychianain2241 Рік тому

      @@CodeWithClinton ok Brother Clinton! Thanks! though I don't even have an idea weather the CheperCash is available in my country... I will just try to find out

  • @H3ndr1x220
    @H3ndr1x220 Рік тому +1

    Very useful content, will you please make a video on how to host fullstack web app made with reactjs and django on vercel or its alternatives

  • @LearningSpectrums
    @LearningSpectrums 5 місяців тому

    I will like to know if this video can also help configure satic files like html, css, js and images to reflect in the deployment on vercel.. kindly help... i have been searching youtube like all day and i would like to know. Thank You, i await your response.

    • @CodeWithClinton
      @CodeWithClinton  5 місяців тому

      @@LearningSpectrums this is the video you are looking for.

  • @lll-gr7dk
    @lll-gr7dk 8 місяців тому +1

    What do I do when vercel error: ./build_files.sh: line 2: pip: command not found

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому

      The issue is from vercel, I have tried contacting them.

  • @xband0
    @xband0 Рік тому

    Thanks for the update

  • @murtazamadadi8657
    @murtazamadadi8657 Рік тому

    it was helpful thanks

  • @versatg5722
    @versatg5722 Рік тому +1

    Please How do you upload media files. Like images.
    Cuz vercel is serverless

    • @CodeWithClinton
      @CodeWithClinton  Рік тому +1

      You can host the Media files on a separate server like aws s3-bucket.

    • @versatg5722
      @versatg5722 Рік тому +1

      Then how do you connect it.

    • @versatg5722
      @versatg5722 Рік тому +1

      ​@@CodeWithClintonhow do connect the s3 to vercel after deploying the Django app

  • @afraheemraz3753
    @afraheemraz3753 10 місяців тому

    Thank you for this ..

    • @CodeWithClinton
      @CodeWithClinton  10 місяців тому +1

      You're welcome.

    • @afraheemraz3753
      @afraheemraz3753 10 місяців тому

      can you please suggest us some free django hosting provider, @@CodeWithClinton

  • @bemgbautor3463
    @bemgbautor3463 3 місяці тому

    hello clinthon.. thank you for the tutorial, please, is the git repo private or publice (or any of them can be used on vercel)?

    • @CodeWithClinton
      @CodeWithClinton  3 місяці тому

      @@bemgbautor3463 Either private or public can be used.

    • @bemgbautor3463
      @bemgbautor3463 3 місяці тому

      @@CodeWithClinton thank you for the reply, do I have to include my virtual environment file on git before it can run on vercel?

    • @CodeWithClinton
      @CodeWithClinton  3 місяці тому

      @@bemgbautor3463 you don't need your virtual environment on git. What you need is the requirements.txt file. This file contains all the dependencies your project will require.

  • @danquahwilliam316
    @danquahwilliam316 11 місяців тому

    Thank you so much sir

  • @uclongho5273
    @uclongho5273 14 днів тому

    Thanks for video. And when i push to Vercel. It show error " Error: No Output Directory named "staticfiles_build" found after the Build completed. You can configure the Output Directory in your Project Settings.". Please help me

    • @CodeWithClinton
      @CodeWithClinton  13 днів тому

      Try creating a folder called "staticfiles_build" in your project's root directory.

  • @salmanmammadli
    @salmanmammadli Рік тому

    I did all the stuff that you said step by step . In the final stage when i click deploy it takes too long (for example over 40 minutes) and i get error in the end. When i try to look at the errors i get it's not shown in the error list .So i don't know what's reason to get the error. I think error is cause to due to changing database from sqlite to postgres . When i tried making migrations it took more time than when i use sqllite. Then I tried using sqlite instead of postgres this time i get "Build Failed : A Serverless Function has exceeded the unzipped maximum size of 250 MB" error.

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Stick to PostgreSQL database and follow the tutorial carefully.

  • @irfanasulaiman6508
    @irfanasulaiman6508 Рік тому

    Thank you for the great content.. is there any configuration needed for media files in your project while deploying in vercel?

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      You're welcome, it should be the regular media configurations that comes with django.

    • @irfanasulaiman6508
      @irfanasulaiman6508 Рік тому

      @CodeWithClinton what if users have to upload files in ur app? Where will be these files be stored

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @@irfanasulaiman6508 it will be stored in your database, if you want the media files to be stored on a separate server, you can try aws s3-bucket or cloudinary.

    • @irfanasulaiman6508
      @irfanasulaiman6508 Рік тому

      [Errno 30] Read-only file system: '/var/task/media/car_PR9KOgo.jpg'
      I get this error when i upload files from my application deployed in vercel
      my static and media conf is :
      STATIC_URL = '/static/'
      STATICFILES_DIRS = os.path.join(BASE_DIR, 'static'),
      STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles_build', 'static')
      # Base url to serve media files
      MEDIA_URL = 'img/'
      MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
      cant figure out the mistake

  • @arvincalleja1738
    @arvincalleja1738 11 місяців тому

    Hi Clinton, this video is the tutorial I have found is actually fit for what am I doing. But after a day and deploying it, my project in vercel gives me a 404 error, but when I run it locally it still works. I check the railway and under the data tab it say "We are unable to connect to the database over the public network." Is it possible because of this? and what possible solution for this? Thanks!

    • @CodeWithClinton
      @CodeWithClinton  11 місяців тому +1

      Please cross-check your database credentials.

    • @arvincalleja1738
      @arvincalleja1738 11 місяців тому

      ​@@CodeWithClinton I already connect the database. But Vercel has a new error message.
      "This Serverless Function has crashed.
      Your connection is working correctly.
      Vercel is working correctly.
      500: INTERNAL_SERVER_ERROR
      Code: FUNCTION_INVOCATION_FAILED"

  • @abhijithsubash6160
    @abhijithsubash6160 Рік тому

    Hey Clinton,
    I couldn't upload images. It shows: OSError: [Errno 30] Read-only file system: '/var/task/media'

  • @matiasvallejosdev
    @matiasvallejosdev 11 місяців тому

    Thanks for it!

  • @julienheng3880
    @julienheng3880 Рік тому

    I have an application with React as front-end and Django as backend. Is it possible to deploy the application to Vercel?

  • @mahvishsadaf3499
    @mahvishsadaf3499 8 місяців тому

    if i dont have static files what to do ? can i skip the static files section completely ? or are there any more changes

  • @justice1915
    @justice1915 Рік тому

    Nice work sir. When I try to make a post request it doesn’t insert to the database on railway. But if I do that on local host it works. Please help

    • @CodeWithClinton
      @CodeWithClinton  Рік тому +1

      Really? try deploying on another platform. Check my Render tutorial. It is the video before the last.

  • @isaacnsbkargbo1379
    @isaacnsbkargbo1379 Рік тому

    Hello sir, thanks so much for this wonderful tutorial, i followed the tutorial well but my staticfiles are not working on production

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Vercel changed the process.

    • @almaspernshev7370
      @almaspernshev7370 Рік тому

      @@CodeWithClinton any updates on how to configure static files?:D

    • @CodeWithClinton
      @CodeWithClinton  Рік тому +1

      @@almaspernshev7370 a new video will be made for that.

    • @almaspernshev7370
      @almaspernshev7370 Рік тому

      @@CodeWithClinton I have already figured out, but thank you so much it was so helpful👌

    • @reniboyanova9388
      @reniboyanova9388 Рік тому

      @@almaspernshev7370 could you please tell me how you figured out?

  • @heismyke
    @heismyke 10 місяців тому +1

    Error: Command "./build_files.sh" exited with 1

    • @CodeWithClinton
      @CodeWithClinton  10 місяців тому

      Your build.sh file isn't configured properly.

  • @SherlockHolmes-o6x
    @SherlockHolmes-o6x 11 місяців тому

    Thank you a lot!

  • @frostcodes5306
    @frostcodes5306 9 місяців тому

    Getting ./build_files.sh: line 1: pip: command not found
    Traceback (most recent call last):
    File "/vercel/path0/manage.py", line 11, in main ...What could be the issue?

    • @CodeWithClinton
      @CodeWithClinton  9 місяців тому +1

      Let me check out vercel.

    • @enzofuentes939
      @enzofuentes939 8 місяців тому

      Could you fix it? I run into same issue.

    • @pingaksha
      @pingaksha 8 місяців тому

      @@CodeWithClinton facing same error

    • @mtw7025
      @mtw7025 8 місяців тому

      @@pingaksha found a way to fix it?

  • @iviidev
    @iviidev 7 місяців тому

    Is this process same for mysql database too?

  • @КылычМирбеков
    @КылычМирбеков Рік тому

    спасибо тебе большое товарищ!!!🔥🔥🔥

  • @kundanrajput3495
    @kundanrajput3495 Рік тому +1

    i am facing error can you help me , i ave watched your video more then 5 times and written everything exactly same but still deployment not working and it also sont show any error it just show red cross in building part

  • @patriciagiramia7238
    @patriciagiramia7238 Рік тому

    does vercel only use python 3.9 and not any other versions? because i tried deploying and it kept looking for python 3.9 path on my mac. then throws errors. kindly advise

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Try using the python version you have on your computer.

    • @patriciagiramia7238
      @patriciagiramia7238 Рік тому

      thats just it. i have 3.10 installed but eachtime, vercel looks out for 3.9 while installing requirements and thats where everything ends in an error. can the python version be overidden or i have to install 3.9?@@CodeWithClinton

    • @patriciagiramia7238
      @patriciagiramia7238 Рік тому

      Failed to run "pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt" the error

    • @JansenCCruz
      @JansenCCruz Рік тому

      @@patriciagiramia7238 have you fixed it?

  • @riswanbashas6256
    @riswanbashas6256 Рік тому

    My error:
    ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
    Error: Command "./build_files.sh" exited with 1
    My build_files.sh:
    #!/bin/bash
    # Install dependencies from requirements.txt
    pip install -r requirements.txt
    # Run collectstatic command
    python manage.py collectstatic
    I have properly activated my Virtual machine. still it is getting error.
    Any leads will be appreciated

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Make sure you have django installed in your virtual environment. Run "pip freeze" to confirm.

  • @sudiptasarker2480
    @sudiptasarker2480 Рік тому

    Very good content. well done bro. I have got an issue after deployment. When I try to upload any image or file from admin panal. It causes "[Errno 30] Read-only file system: '/var/task/media'" error. Is there any fix for this issue?

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Thank you, try configuring an external server for your media files like aws s3-bucket.

    • @sudiptasarker2480
      @sudiptasarker2480 Рік тому

      @@CodeWithClinton thanks for your suggestion

    • @versatg5722
      @versatg5722 Рік тому +1

      ​@@sudiptasarker2480how do do the external configuration

    • @versatg5722
      @versatg5722 Рік тому +1

      ​@@CodeWithClintonhow do you do the external configuration please

  • @niteshraya
    @niteshraya Рік тому

    Hey thank you for the tutorial but i am having weird issue where my hosted site doesn't run static files! I have tried white noise and all the stuffs :-( . Only the html runs can you please help me with this one!

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Make sure to include STATIC_ROOT in your settings.py file.

    • @niteshraya
      @niteshraya Рік тому

      @@CodeWithClinton can you make a tutorial on that please?

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @@niteshraya add this to your settings file.
      STATIC_ROOT = BASE_DIR/"assets"

    • @niteshraya
      @niteshraya Рік тому

      @@CodeWithClinton Do you have discord or something to connect. Please help me

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @@niteshraya you can try LinkedIn or Twitter, check about section of my channel.

  • @hustlersadda1
    @hustlersadda1 6 місяців тому

    Sir getting error or pip command not found,python3 not found... Build_files.sh existed with 127

    • @CodeWithClinton
      @CodeWithClinton  6 місяців тому

      Sorry, it has to do with vercel.

    • @mihirpande8786
      @mihirpande8786 6 місяців тому

      same, did you found a way to get around it?

  • @aaronicks7797
    @aaronicks7797 11 місяців тому

    Hi Clinton I have tried loading it but its not loading my style sheet

    • @CodeWithClinton
      @CodeWithClinton  11 місяців тому

      I will make a new video on this, try another hosting platform.

  • @divyasoni5729
    @divyasoni5729 8 днів тому

    I'm using Sql lite how to connect with that

    • @CodeWithClinton
      @CodeWithClinton  8 днів тому

      @@divyasoni5729 Sqlite3 doesn't work on vercel.

  • @nelisiwemasango8890
    @nelisiwemasango8890 9 місяців тому

    thank you so much

  • @Sivu2
    @Sivu2 Рік тому

    Hi i deployed my django project with psql as database but i get This Serverless Function has crashed error please help

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      I guess there something you missed in the tutorial.

  • @ahmedrafi7463
    @ahmedrafi7463 10 місяців тому

    Full stack features such as login or signup which uses database is not working after deployment to vercel using this method, please help

    • @CodeWithClinton
      @CodeWithClinton  10 місяців тому +1

      I will check it out.

    • @ahmedrafi7463
      @ahmedrafi7463 10 місяців тому

      @@CodeWithClinton Thanks I will be waiting.

    • @ahmedrafi7463
      @ahmedrafi7463 10 місяців тому

      @@CodeWithClinton did you find any solution brother?

  • @akakonin6924
    @akakonin6924 Рік тому

    Good Job. Please, I have created a web App using Django and react but find it difficult to deploy it.
    Can you help? Thanks

    • @CodeWithClinton
      @CodeWithClinton  Рік тому +1

      You have to deploy them separately.

    • @akakonin6924
      @akakonin6924 Рік тому

      Ok. It means I have to separate them. Otherwise I developed them together.
      Thanks@@CodeWithClinton

    • @CodeWithClinton
      @CodeWithClinton  Рік тому +1

      @@akakonin6924 it needs to be two separate apps, deployed separately.

    • @akakonin6924
      @akakonin6924 Рік тому

      @@CodeWithClinton Thanks, I will separate them from the local development and then see how it will be.

    • @akakonin6924
      @akakonin6924 Рік тому

      Please, can you help me deploy my App? Good evening Boss...

  • @suyog_codin
    @suyog_codin 9 місяців тому

    Thankyou my project got hosted but when i try to update any thing from admin panel i get error 30
    How to fix Error 30 Read-only file system

  • @IamNotCoder
    @IamNotCoder 6 місяців тому

    Everything is working for me but my media files are not displaying. What can be the reason ?

    • @CodeWithClinton
      @CodeWithClinton  5 місяців тому

      Check your settings.py file and make sure MEDIA_URL, and MEDIA_ROOT are properly configured.

    • @CodeWithClinton
      @CodeWithClinton  5 місяців тому

      make sure your MEDIA_URL and MEDIA_ROOT are properly configured.

  • @dagmniko
    @dagmniko 8 місяців тому

    please help
    WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply.

    • @H3A3K_
      @H3A3K_ 8 місяців тому

      Hey did you solve it? should i help?

    • @dagmniko
      @dagmniko 8 місяців тому

      @@H3A3K_ yesss please help me

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому +1

      It think vercel is having some issues.

    • @dagmniko
      @dagmniko 8 місяців тому

      @@CodeWithClinton I've tried changing everything. the lambda size the python version and more...do you have any idea what I should do

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому

      @@dagmniko the issue is from vercel, I have been trying to contact but no response yet.

  • @akulalaxmi-pr1ng
    @akulalaxmi-pr1ng 6 днів тому

    I could not find the code for vercel.json file

    • @CodeWithClinton
      @CodeWithClinton  6 днів тому

      Looked out for my comment in the comments section.

  • @yaroslav1481
    @yaroslav1481 9 місяців тому

    Hi, i have got an error: ./build_files.sh: line 1: pip: command not found
    Could someone help me

    • @CodeWithClinton
      @CodeWithClinton  9 місяців тому

      I have been having same error message too, I think the problem is from vercel.

    • @JaydeepTalaviya-cl4xr
      @JaydeepTalaviya-cl4xr 9 місяців тому

      @@CodeWithClinton i am also getting the same error

    • @frostcodes5306
      @frostcodes5306 9 місяців тому

      @@JaydeepTalaviya-cl4xr Also having same problem, anybody with a solution?

  • @cdexzswzaqME
    @cdexzswzaqME Рік тому

    my website is loading but static files are not comming
    only html content is commint

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Yeah, Vercel made some updates to the deployment process.

  • @yourboyman7410
    @yourboyman7410 10 місяців тому

    i made my project in 3.11 so it isnt working. what do i do?

    • @CodeWithClinton
      @CodeWithClinton  10 місяців тому

      While deploying stick with your current python version.

  • @mateusz99i1
    @mateusz99i1 Рік тому

    Thank you, you just saved my ass

  • @jayarammishalu3168
    @jayarammishalu3168 Рік тому

    I have a doubt how to deploy django and reactis in vercel

  • @Abdusshh
    @Abdusshh 6 місяців тому

    vercel cant run pip what do you think the reason might be
    ./build_files.sh: line 1: pip: command not found
    Traceback (most recent call last):
    File "/vercel/path0/manage.py", line 11, in main
    from django.core.management import execute_from_command_line
    ModuleNotFoundError: No module named 'django'
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "/vercel/path0/manage.py", line 22, in
    main()
    File "/vercel/path0/manage.py", line 13, in main
    raise ImportError(
    ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
    Error: Command "./build_files.sh" exited with 1

    • @CodeWithClinton
      @CodeWithClinton  6 місяців тому

      Vercel are currently having issues deploying python apps.

    • @Abdusshh
      @Abdusshh 6 місяців тому

      @@CodeWithClinton oh no when do you think it will be fixed

  • @princewilljackson8412
    @princewilljackson8412 Рік тому

    Followed your steps, but don't know why i'm getting this error.... "ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?"....and my virtual env is activated

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Create a virtual environment, activate the virtual environment and make sure Django is installed in your virtual environment.

    • @vaibhavpatil4248
      @vaibhavpatil4248 Рік тому

      I am getting the same error, please help if you have found out any solution

  • @luuvinhtuong
    @luuvinhtuong Рік тому

    thanks bro

  • @Lordwisetech
    @Lordwisetech 8 місяців тому

    Bro im facing an error,404 not found after deployment please help me

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому

      It is a slight issue, you are trying to access a url path that doesn't exist.

  • @nikantkamat8992
    @nikantkamat8992 Рік тому

    i need to deploy django as an api!

  • @excelakachukwu2660
    @excelakachukwu2660 26 днів тому

    I cant find yhe pinned tweet

    • @CodeWithClinton
      @CodeWithClinton  26 днів тому +1

      @@excelakachukwu2660 Look out for my comment in the comments section.

  • @alvinchisom4841
    @alvinchisom4841 4 місяці тому

    Bro i just dey watch this video, E be like say railway no dey work for us way dey Naija.

    • @CodeWithClinton
      @CodeWithClinton  4 місяці тому

      @@alvinchisom4841 yeah, you need a VPN to access railway from Nigeria.

    • @alvinchisom4841
      @alvinchisom4841 4 місяці тому

      @@CodeWithClinton ok Bro i will give it a try, me no like Heroku again

  • @akakonin6924
    @akakonin6924 Рік тому

    Clinton, please I still need your assistance

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      How can I help?

    • @akakonin6924
      @akakonin6924 Рік тому

      @@CodeWithClinton I am still not able to deploy my fullstack App. I would like to communicate with you privately so you can see my code... Thanks

  • @saidorifxojayoldoshxojayev1100
    @saidorifxojayoldoshxojayev1100 9 місяців тому

    is vercel free to deploy?

  • @tilemachoschatzipapas9379
    @tilemachoschatzipapas9379 9 місяців тому

    I keep getting 404: NOT_FOUND error when i followed step by step

  • @FunnyBooks-nv6in
    @FunnyBooks-nv6in 9 місяців тому +1

    I think you follow Corey Schaeffer for build this project..

  • @tomilola_ng
    @tomilola_ng Рік тому

    I don't like my apps depending on railway they give a limited time monthly

    • @CodeWithClinton
      @CodeWithClinton  Рік тому +1

      Yeah, they give 500 hours monthly. Or you can deploy on PythonAnywhere it uses the sqlite3 database that comes with django.

    • @gaureshp.a.8229
      @gaureshp.a.8229 Рік тому

      @@CodeWithClinton I need a custom domain so that it's routed to my personal domain. Any other services that gives it for free?

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      @@gaureshp.a.8229 I don't think there is a service that gives it for free.

  • @slliks4
    @slliks4 11 місяців тому

    where are you from? I am guessing delta or benin 😂

    • @CodeWithClinton
      @CodeWithClinton  11 місяців тому

      What made you think I am from Delta or Benin? Kindly let me know. By the way, I am from Imo State.

    • @slliks4
      @slliks4 11 місяців тому

      You talk so fast 🐥
      Oh wow I guess I was wrong then

  • @abderrahmanegorram
    @abderrahmanegorram Рік тому

    broo why you didn't share the source code

  • @Azizbek_Gulomov
    @Azizbek_Gulomov Рік тому

    hello, this video is usefull
    but i had a bug
    Command "./build_files.sh" exited with 1
    python version 3.11.4 and I wrote to build_files
    pip install -r requirements.txt
    python3.9 manage.py collectstatic

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      Check the terminal on vercel the exact error message should be there.

  • @melisaaydnc2738
    @melisaaydnc2738 5 місяців тому

    if i use db.sqlite3 only,is it still working or not?

  • @revanthsai_05
    @revanthsai_05 19 днів тому

    """""""raise ImproperlyConfigured("Error loading psycopg2 or psycopg module")
    django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 or psycopg module """" I am getting this error any fixes??

  • @krishnasoni-ge2cx
    @krishnasoni-ge2cx Рік тому

    404: NOT_FOUND
    Code: NOT_FOUND
    this error is coming

    • @CodeWithClinton
      @CodeWithClinton  Рік тому

      What caused the error?

    • @krishnasoni-ge2cx
      @krishnasoni-ge2cx Рік тому

      The project is deployed successfully but when i going to domain giving above error

  • @CoderandAnalyst
    @CoderandAnalyst 9 місяців тому

    it didn't work it says "404: NOT_FOUND
    Code: NOT_FOUND
    ID: cdg1::vlxmf-1711096926321-ee8d97504987"

  • @ronunkwor
    @ronunkwor 5 місяців тому

    Thank you so much

  • @BensonIbe
    @BensonIbe 8 місяців тому

    when deploying on Vercel, i keep getting this error, how do i solve this
    ModuleNotFoundError: No module named 'django'
    NB: I have django installed already, in my requirements.txt file, i have Django==4.2.6
    in my build_files.sh i have pip3 install -r requirements.txt
    python3.9 manage.py collectstatic
    and in my runtime .txt i have Python-3.9

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому +1

      I think Vercel is currently having issues deploying Django.

    • @BensonIbe
      @BensonIbe 7 місяців тому

      @@CodeWithClinton okay. Thank you so much