Deploy a Django web app to a Render live server with PostgreSQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

ความคิดเห็น • 190

  • @CloudWithDjango
    @CloudWithDjango  ปีที่แล้ว +4

    PLEASE READ on the packages required + static / media files:
    Requirements.txt file:
    asgiref==3.6.0
    dj-database-url==1.2.0
    Django==4.1.6
    django-environ==0.9.0
    gunicorn==20.1.0
    psycopg2-binary==2.9.5
    sqlparse==0.4.3
    tzdata==2022.7
    Please note that you will also have to setup your static and media files as well. Here is an example tutorial with Amazon S3:
    th-cam.com/video/JQVQcNN0cXE/w-d-xo.html

  • @luandesouza450
    @luandesouza450 ปีที่แล้ว +3

    Thank you very much for the tutorial. It helped me out a lot, I was so frustrated trying to deploy my django project with a free option that I almost drop it in the recycle bin.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +2

      My pleasure, Luan!
      I'm glad that it helped you out!
      Haha, 🤣 I get what you mean with the frustration. I felt like setting my laptop on fire when I first tried to deploy my Django application

  • @andr9465
    @andr9465 10 หลายเดือนก่อน +1

    I have an error when I try to deploy my server using name.wsgi:application . I have nested directories , like : rootdir - name-name and the command I described earlier works for me only when i do like so "name.name.wasgi:application" , but after that i get the next error "ModuleNotFoundError: No module named 'name.settings' " , how can i fix it?

    • @CloudWithDjango
      @CloudWithDjango  10 หลายเดือนก่อน +1

      Hi,
      Yes, if you have nested directories that could cause an issue, and the solution would be name.name.wasgi:application.
      Module not found could indicate that your sys path or project directory isn't organised/defined correctly.
      A simple fix to this is to deploy your application with name.wsgi:application without altering your directories, and to not nest them.
      Good luck!

    • @DeanWinchester-qs1ck
      @DeanWinchester-qs1ck 3 หลายเดือนก่อน

      ​@@CloudWithDjango Hey there Champ! appreciate that ur responding to comments on ur vidoes even after a while, but I ran into the same issue where I have nested dirs on my project. I have main_project->backend->backend. I structured it this way since I have React + DRF tech stack and its easier to organize files when I have separate dir for my frontend(React) and backend(Django). Any ideas of the workaround? would really appreciate it, thanks!

    • @DeanWinchester-qs1ck
      @DeanWinchester-qs1ck 3 หลายเดือนก่อน

      Nvm, managed to fix it, didn't know that Render's settings offer a "Root Directory" option just have to specify my 'backend' dir for my 'mono-repo' project, it is now up and running, thanks!

  • @cotechlevy6368
    @cotechlevy6368 ปีที่แล้ว +3

    I'm gonna recommend this video to my fellow Django devs. Good job! Kindly keep us posted on these Django tutorials.🔥

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      Thank you for your feedback and for sharing my video tutorial. I appreciate it.
      Of course, lots more to come :)
      All the best!

  • @MdSuhailKhan-f3x
    @MdSuhailKhan-f3x 9 หลายเดือนก่อน

    ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,=3.7,=3.7,=3.7,=3.7,

    • @CloudWithDjango
      @CloudWithDjango  9 หลายเดือนก่อน

      Hi,
      Please use the same packages that are demonstrated in the video to ensure that you don't run into errors for your first deployment.

  • @siddharth.chandani
    @siddharth.chandani 5 หลายเดือนก่อน

    Hello.. I'm getting internal server error 500 when debug is set to False and when debug =True, application is working fine... Is there any way to fix that?

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน

      Hi,
      I'd suggest, checking server logs for detailed error messages, then ensure correct configurations, permissions, and dependencies while updating outdated components and implementing custom error handling within your application.

  • @DougMcLain
    @DougMcLain หลายเดือนก่อน

    Thanks!, your tutorials are always the best. I really appreciate how you, show examples for deployment with a simple apps first. It really helps to minimize all the other potential issues.

    • @CloudWithDjango
      @CloudWithDjango  หลายเดือนก่อน

      Thank you so much for the Super thanks!! I appreciate it so much along with your kind words and support! I'm glad that you enjoy my tutorials and that you especially enjoyed this one with the manner of instruction! Thank you again!

  • @0070-k2d
    @0070-k2d 5 หลายเดือนก่อน

    Hi sir my project successfully deployed but it don't shows the static files on the live server
    pease help on this issue

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน

      Hi,
      Please kindly read the pinned comment for further information

  • @harshrajyoutube
    @harshrajyoutube 6 หลายเดือนก่อน

    My css is not applying why? Even default admin pannel is not get its style

    • @CloudWithDjango
      @CloudWithDjango  6 หลายเดือนก่อน +1

      Hi,
      You need to set your static files with white noise or Amazon S3. Please refer to the pinned comment.

  • @alyaaahmed4462
    @alyaaahmed4462 4 หลายเดือนก่อน

    Do you know why I lose my data stored in the database each time i reload the page or deploy a last commit?

    • @CloudWithDjango
      @CloudWithDjango  4 หลายเดือนก่อน +1

      Hi,
      You shouldn't lose the data in your database. Please ensure that you are properly connected to your production database. Or it can indicated a resource usage limit on the free tier

  • @TuzyKawaii
    @TuzyKawaii 4 หลายเดือนก่อน

    I keep getting module not found error. (I will write the commands and file names with your project folder names)
    It says No module named 'elevate.wsgi'

    • @CloudWithDjango
      @CloudWithDjango  4 หลายเดือนก่อน

      Please ensure that you are referring to your projects wsgi in your settings.py file.

    • @TuzyKawaii
      @TuzyKawaii 4 หลายเดือนก่อน

      @@CloudWithDjango I solved it, it was due to directory structure. Took all wsgi and settings files to directly root folder not in some folder inside root folder. Thanks.

    • @CloudWithDjango
      @CloudWithDjango  4 หลายเดือนก่อน

      No worries! Glad to hear that you got it working!

  • @dave_eke
    @dave_eke 5 หลายเดือนก่อน

    Hello I developed a server 500 error pls how can I fix it

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน

      Hi,
      Please ensure that your application works locally without issues. This is the reason for the 500 error.

  • @razorhxh7371
    @razorhxh7371 ปีที่แล้ว

    Hi Sir. Your videos have truly been a lifesaver. I am a beginner and at my workplace I have to deploy a django application that I am working on. My database has no writes because we don't collect any user data and there are no forms. Do I have to use a Postgres database. I have been reading online that for production, use postgres and not sqlite because sqlite can get corrupted. I was just wondering what I should do because my job uses AWS so I don't think I could use Render.
    If you have any videos for deploying django with postgres database on aws, that would be very helpful.

  • @janing06
    @janing06 ปีที่แล้ว

    I need to ask this sir, i have deployed my django application + postgresql and i have model with image and some description and view it on the page and when I add and object it os completely fine everything is displayed but after maybe 30 mins, my images are gone but not the descriptions. Now I have to delete all the objects ang add it all again but will also disappear later. What might be the problem?

  • @blessycheriyan5870
    @blessycheriyan5870 ปีที่แล้ว +1

    Useful , could you please upload decorate in django?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Thank you for the suggestion. If I have time, I can maybe look.

  • @BruceKamugisha
    @BruceKamugisha 5 หลายเดือนก่อน

    why is it saying my gunicorn command is not found

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน

      Hi please double check your command.

  • @pedroaugusto5995
    @pedroaugusto5995 ปีที่แล้ว

    Thanks for the video, but everytime i try, render give the error "ModuleNotFoundError: No module named 'nameofmyapp.wsgi' ". Can you help me?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      No problem!
      Please first make sure that your application works locally, and then please double check your settings with the gunicorn configuration.

  • @aswink7701
    @aswink7701 11 หลายเดือนก่อน

    Thanks for the video, but everytime i try, render give the error "ModuleNotFoundError: No module named 'nameofmyapp.wsgi' ". Can you help me? give mw a proper answer.

    • @DeanWinchester-qs1ck
      @DeanWinchester-qs1ck 3 หลายเดือนก่อน

      Hey there! I have the same issue, did u manage to solve it?

  • @sogolsaadat2488
    @sogolsaadat2488 หลายเดือนก่อน

    Hi, i’m using an external postgres database and when I run migrations and collect static along with pip install… requirement.txt I get connection error but when i run the build command without migration and collect static, it successfully deploys the app but I get server error 500 in some pages. My application runs perfectly locally with production settings. I have checked the port and there is no mismatch. It is 5432.

    • @CloudWithDjango
      @CloudWithDjango  หลายเดือนก่อน +1

      Hi, please ensure that the database connection settings in your deployment environment match your local production settings, and verify that the database is accessible during the migration and static file collection processes. The server error 500 may indicate an issue with the database connection or missing static files that need to be addressed during deployment.

    • @sogolsaadat2488
      @sogolsaadat2488 หลายเดือนก่อน

      @@CloudWithDjango Thank you for replying! I ended up creating the Postgres database from render and load my data into it, just followed your video and I was able to successfully deploy my app.
      I only have problem with images, now watching your video on Cloudinary to hopefully fix that issue.
      Your videos are very helpful! Thank you!

    • @CloudWithDjango
      @CloudWithDjango  หลายเดือนก่อน +1

      My pleasure! Glad to hear that you managed in the end!
      I'd suggest rather watching my S3 video on image management here:
      th-cam.com/video/JQVQcNN0cXE/w-d-xo.html
      Might be a better solution for you!
      Of course, it's a pleasure! Thank you for your support and for watching! Good luck!

    • @sogolsaadat2488
      @sogolsaadat2488 หลายเดือนก่อน

      @@CloudWithDjango Thank you so much for this. I was indecisive between Cloudinary and AWS. I read your comment and decided to use AWS s3. Followed your video step by step and it’s done. It was so simple to follow. Wouldn’t be able to do it without your videos!!!

    • @CloudWithDjango
      @CloudWithDjango  หลายเดือนก่อน +1

      My pleasure! Yes, it certainly can be difficult to decide between the two. Yes, while Cloudinary is a good choice, AWS S3 is more seamless in my opinion. Glad that you managed to get things working with the tutorial and that you found it simple! Thank you so much for your kind words! All the best!

  • @NINJATVNJTV
    @NINJATVNJTV ปีที่แล้ว

    how to fix this ERROR: No matching distribution found for tensorflow-intel==2.8.0

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      Whenever you deploy an application you need to be careful with your packages. It is simply a trial and error process that only you can figure out.
      Therefore, I'd recommend changing your package versions accordingly and then taking a look at what works and what doesn't
      Good luck!

  • @balitaktakaneveryday7017
    @balitaktakaneveryday7017 ปีที่แล้ว

    raise ImproperlyConfigured(error_msg) from exc
    django.core.exceptions.ImproperlyConfigured: Set the DATABASE_URL environment variable .i got this error sir, help me pls.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Please ensure that you setup your environment variables correctly (make sure that you don't have spaces, that you turn off your server whilst you setup your env variables, and that you associate the credentials correctly).
      These are the reasons for it.

    • @orcofficialyoutube
      @orcofficialyoutube ปีที่แล้ว +1

      You were right sir, that was my error. Thank you. I've been fixing again an error says server error 500 when adding data to database.

  • @akokkalis1
    @akokkalis1 ปีที่แล้ว

    Hi it gives me the error when it tries to read the env database variable
    django.core.exceptions.ImproperlyConfigured: Set the DATABASE_URL environment variable

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      Please make sure that you have configured the python interpreter correctly, that your database url is still valid, and that you referenced your database url correctly.
      The error says that there is no DATABASE_URL environment variable set correctly, so you need to make sure that it exists in your .env file and that everything is precise.
      I would also suggest that you keep your server turned off, until you have set everything up, since your server will show confusing errors.

    • @akokkalis1
      @akokkalis1 ปีที่แล้ว

      @@CloudWithDjango Thanks for your fast response. The mistake was that in .env file i was leaving a space between variable and value.
      you need to put it exactly like that DATABASE_URL=mydatabaseurl with out any space.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      No worries at all. Yes, unfortunately you need to be very precise in the regard.
      All the best!

  • @ahmedzakaria3742
    @ahmedzakaria3742 ปีที่แล้ว

    I have a unrelated question, I have a FileField when it returned it comes as a path not as a URL(API endpoint) it happens before and after deployment . I hope you get what I mean. Thank you.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Thank you for reaching out.
      I'm not 100% sure of how your application is laid-out exactly, but a recommendation to help you would be to look into using Amazon S3 for your file handling. There is very good documentation that you can research online that should in-turn alleviate your problem as a whole.
      Good luck!

  • @orcofficialyoutube
    @orcofficialyoutube ปีที่แล้ว

    Thank you! I deployed my first django app😢....

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      My pleasure! :)
      I'm happy to hear that you managed to get your project deployed!

  • @chimex1149
    @chimex1149 ปีที่แล้ว

    Thanks for this video. Please when using the new database settings in my existing project, my previous django-admin is no longer available.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      My pleasure. Yes, it won't be available since we are changing our database. Wherever you create you store - according to the current database

  • @janing06
    @janing06 ปีที่แล้ว +1

    Hello Can you make video with only static files and without database. I'm struggling rn I'm following your steps and my application is now live but it only shows EOF. What this mean?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Please see the timestamps in the description below. I mention a solution here. The EOF file error can be either because your application is too large, you need more compute power, or there is a problem in your requirements.txt file or within your application.
      Regarding your database question. You can just ignore that section and leave it out. If you don't have a database then you don't need to put in database configuration settings.
      I'd advise you to deploy a small and simple application first before attempting other projects.

    • @janing06
      @janing06 ปีที่แล้ว

      @@CloudWithDjango my first project is image background removal 😅😅

    • @janing06
      @janing06 ปีที่แล้ว

      @@CloudWithDjango I guess this project is too large but anyway thank you so much 😄👍

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      @@janing06 Yes, unfortunately, you will be limited by size if you want to go free.... haha! It you upgrade you shouldn't have a problem. My pleasure! All the best :)

    • @janing06
      @janing06 ปีที่แล้ว

      @@CloudWithDjango by the way I make a simple app just a navbar and it work but css is not working what is the simplest way to apply it?

  • @lehuy2393
    @lehuy2393 10 หลายเดือนก่อน

    I've a problem.Could you tell me How to solve it ? " ERROR: Ignored the following versions that require a different python version: 1.9.5 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*,

    • @CloudWithDjango
      @CloudWithDjango  10 หลายเดือนก่อน

      Hi,
      Please remove pywin32 from your requirements.txt file.
      I would suggest only using the packages that are present in the video tutorial, and keeping it at a minimum (as shown at 30:21)

    • @lehuy2393
      @lehuy2393 10 หลายเดือนก่อน

      @@CloudWithDjango But when I remove pywin32 , i got problem "ERROR: Command errored out with exit status 1: /opt/render/project/src/.venv/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yg60n85e/pyyaml_2fd24514e0f44f2baba7a97a61d2d597/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yg60n85e/pyyaml_2fd24514e0f44f2baba7a97a61d2d597/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'
      '"'"', '"'"'
      '"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-z_2okweo/install-record.txt --single-version-externally-managed --compile --install-headers /opt/render/project/src/.venv/include/site/python3.9/PyYAML Check the logs for full command output.
      "

    • @CloudWithDjango
      @CloudWithDjango  9 หลายเดือนก่อน

      Hi,
      It would seem that you have a larger problem at hand with your application.
      Please rather for your first time deploy a simple application that doesn't have too many complexities.

  • @janing06
    @janing06 ปีที่แล้ว

    what to do if already have existing database

  • @no---on
    @no---on ปีที่แล้ว

    I am not able configure my static and media files plz help!

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      Please read the pinned comment for more information.

  • @siddharth.chandani
    @siddharth.chandani 5 หลายเดือนก่อน

    Can we serve static files using whitenoise instead of S3 bucket?

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน +1

      Hi,
      Yes, I have a video on the channel for this.

    • @siddharth.chandani
      @siddharth.chandani 5 หลายเดือนก่อน

      @@CloudWithDjango Oh great!
      I must say that you are among the very few creators who actually respond to all queries of the viewer. One day you will be in the top creators in youtube. My best wishes are with you.😊

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน +1

      Thank you, that's nice of you to say! I really appreciate the best wishes and all the support! Happy learning and all the best to you! :)

    • @siddharth.chandani
      @siddharth.chandani 5 หลายเดือนก่อน

      @@CloudWithDjango One more thing i want to ask.. I'm getting internal server error 500 when debug is set to False and when debug =True, application is working fine... Is there any way to fix that?

    • @CloudWithDjango
      @CloudWithDjango  5 หลายเดือนก่อน

      Hi,
      The internal server error 500 when debug is set to False typically indicates an issue in production settings; you can debug by checking your logs, ensuring proper error handling, and verifying all necessary configurations are in place.

  • @ritik1857
    @ritik1857 ปีที่แล้ว

    There is an error. The DATABASE_URL is not being read for some reason by the env('DATABASE_URL')
    A fix for this:
    In the base directory, in the command line run the following:
    set DATABASE_URL =

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      You need to make sure that you have configured your python interpreter correctly in VS Code for django environ to be recognized.
      But yes, this is an alternative. Thank you for suggesting it.

    • @ritik1857
      @ritik1857 ปีที่แล้ว

      @@CloudWithDjango also one more issue. I want to only server the static files that came default with django such as the admin page and stuff. How can we do that? Do we need to use AWS for that as well? Or can we do it without AWS?

  • @enz1222
    @enz1222 ปีที่แล้ว

    Life saver 🔥🔥 but .. how come the django static files were not served for me can you please help

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Thank you! I'm glad that it helped you!
      Please see the list of timestamps in the description. I give a solution to this.
      Good luck!

  • @mraider45
    @mraider45 7 หลายเดือนก่อน

    you really did a great job on this tutorial , just what i was looking for. Thankyou

    • @CloudWithDjango
      @CloudWithDjango  7 หลายเดือนก่อน

      Thank you so much! It is a great pleasure!
      I wish you all the best in you development journey!

  • @MrValVet
    @MrValVet 11 หลายเดือนก่อน

    Loving your tutorials. I was wondering if you could do a video on deploying Django with Django-Q and Redis to Railway. I already have a Postgres DB on Railway and never deployed an app before and it seems overwhelming. Do I need to dockerize the app? Thanks!

    • @CloudWithDjango
      @CloudWithDjango  11 หลายเดือนก่อน

      Hi,
      Thank you for your feedback and for the suggestion.
      You don't need to dockerize your app. You can simply connect your database on railway to your django application.

    • @MrValVet
      @MrValVet 11 หลายเดือนก่อน

      @@CloudWithDjango Thanks, I finally made it work by using 2 services, one for the server and another for qcluster.

  • @prapathsuayroop2341
    @prapathsuayroop2341 ปีที่แล้ว

    Thank you for your fantastic VDO, it's very easy to follow and makes I better understand, it's help me a lot, also make I understand the render services as well. Please keep going, I love the style that you made with the VDO so much.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi Prapath,
      Thank you for your kind feedback. It is very much appreciated! :)
      I'm glad to hear that my video was of value to you, and that you enjoy my style.
      All the best,
      Arno

  • @wordwonders365
    @wordwonders365 ปีที่แล้ว

    Hello, can render host a Django Channels application?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      You would need to check via trial and error.

  • @noufianazir3780
    @noufianazir3780 6 หลายเดือนก่อน

    Got not found after deploying

    • @CloudWithDjango
      @CloudWithDjango  6 หลายเดือนก่อน

      Hi, please check that your application is error-free upon deployment before kindly re-deploying

    • @noufianazir3780
      @noufianazir3780 6 หลายเดือนก่อน +1

      Ok

  • @diegodreossi1458
    @diegodreossi1458 ปีที่แล้ว

    So in the long term the Render Database is not free?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      If you have a growing application, with many users, and you want your database to run continuously. Then yes, you will need to pay eventually for the resource usage and extended up-time.
      You can score on the free tier usage for a certain amount of time, but you will be limited. This goes for all platforms and services.

  • @aceworks007
    @aceworks007 9 หลายเดือนก่อน

    How many days access this site?

    • @aceworks007
      @aceworks007 9 หลายเดือนก่อน

      If expire free service after 3months?.

    • @CloudWithDjango
      @CloudWithDjango  9 หลายเดือนก่อน

      HI,
      You would need to check the free tier usage restriction. But yes, on the free tier your site will eventually run out of usage.

  • @abunaim9624
    @abunaim9624 4 หลายเดือนก่อน

    It is really helpful! thank you sir.

    • @CloudWithDjango
      @CloudWithDjango  4 หลายเดือนก่อน

      Of course, my pleasure! Glad that it was useful to you!

  • @user-9bk
    @user-9bk ปีที่แล้ว

    Awesome...... It's really a great and helpful for any kinds of developer. If you are facing a great problem to deploy django app, you can follow this tutorial...It is easy to understand.. Thank you Sir..

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Thank you for your kind feedback, Md. It is very much appreciated.
      I'm glad that the video tutorial was helpful to you.
      It is a pleasure :)
      All the best,
      Arno

    • @user-9bk
      @user-9bk ปีที่แล้ว

      @@CloudWithDjango Welcome & carry on

  • @helmi2376
    @helmi2376 ปีที่แล้ว

    please , l followed all the steps but there is a problem l cant configure static and media files, how to do it in render

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      Yes, this is expected and I mention a solution to this at the end of the video. There is a video tutorial on how to configure your static files with amazon s3 in the description of the video.

    • @helmi2376
      @helmi2376 ปีที่แล้ว

      @@CloudWithDjango static files were fixed by whitenoise but there is a problem on media files

  • @sotak77
    @sotak77 3 หลายเดือนก่อน

    Great video as always. Thank you.

    • @CloudWithDjango
      @CloudWithDjango  3 หลายเดือนก่อน

      Thank you! Of course, my pleasure!

  • @adrianmin713
    @adrianmin713 8 หลายเดือนก่อน

    Truly amazing tutorials. Thank you so much for sharing.

    • @CloudWithDjango
      @CloudWithDjango  8 หลายเดือนก่อน +1

      Thank you so much! I appreciate you taking time to watch them!

  • @akokkalis1
    @akokkalis1 10 หลายเดือนก่อน

    Arno hi, What is the actual solution of admin page styling? the one to run the command collect static?
    And if is that how i can a run a command on render?

    • @CloudWithDjango
      @CloudWithDjango  10 หลายเดือนก่อน

      Hi,
      The easiest solution would be to integrate Amazon S3 before deploying your application and run python manage.py collectstatic then before you deploy to Render.
      I'm not too sure of how you would run it on render. But yes that is the correct command nonetheless.

    • @akokkalis1
      @akokkalis1 10 หลายเดือนก่อน

      @@CloudWithDjango thank you very much.

    • @CloudWithDjango
      @CloudWithDjango  10 หลายเดือนก่อน

      My pleasure!

  • @dell4559
    @dell4559 ปีที่แล้ว

    can you please help me i have hosted everything correctly but when i upload my image the database is showing my image path but how to retrieve or access that image ? where can i get that image ?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      For images you may need to host it externally, such as with Amazon S3 or Cloudinary. This will make things a lot easier for you.

    • @dell4559
      @dell4559 ปีที่แล้ว

      @@CloudWithDjango thanks is that free or paid ? do you have videos for that ?

    • @dell4559
      @dell4559 ปีที่แล้ว

      @@CloudWithDjango means that this render cloud cannot host images or what is it possible to make video on this ?

  • @michasar2422
    @michasar2422 ปีที่แล้ว

    Thanks! Very useful!

  • @YouTub476
    @YouTub476 ปีที่แล้ว

    Successful deployed thank you bro

  • @zaniolotimur
    @zaniolotimur 9 หลายเดือนก่อน

    u are perfect ty for thi clear presentation

  • @ajp1732
    @ajp1732 ปีที่แล้ว

    Thanks for this!

  • @ahmadumar6210
    @ahmadumar6210 ปีที่แล้ว

    looks very well thanks for this hack :D

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      My pleasure! I'm glad that you like it!

  • @gigachad9110
    @gigachad9110 ปีที่แล้ว

    planetscale is very good

  • @omkarkhandekar8211
    @omkarkhandekar8211 ปีที่แล้ว

    perfect tutorial THANK YOU 🤟

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Thank you very much!
      It is a pleasure, Omkar! :)

    • @omkarkhandekar8211
      @omkarkhandekar8211 ปีที่แล้ว

      @@CloudWithDjango it is showing an error saying -could not translate host name to address: Name or service not known how t fix this

  • @janing06
    @janing06 ปีที่แล้ว

    How to use existing postgres database?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      If you already have an existing postgres database. I'd suggest reading more in the docs about this. Here are two links to give you some guidance:
      community.render.com/t/connecting-to-a-external-postgresql-database/6488
      render.com/docs/databases

    • @janing06
      @janing06 ปีที่แล้ว

      @@CloudWithDjango hello my database is in localhost

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      If you are using the default SQlite database that Django gives you. It should automatically be configured by default within your application. So, you don't need to do anything else. All you need to do is deploy your application like normal to Render and ignore the PostgreSQL part.

  • @ahmedzakaria3742
    @ahmedzakaria3742 ปีที่แล้ว

    Thank you very much!

  • @thevitorcampos
    @thevitorcampos ปีที่แล้ว

    Thank you very much!

  • @wx270
    @wx270 ปีที่แล้ว

    Hey, I ran into a little and would appreciate your help. I followed your video exactly. However, after render deployed my project. I am seeing a blank page stating 'Not Found'.
    Do you have idea of what it might be ?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Thank you for reaching out, and for your question.
      It takes time after the deployment says it was a success. After doing the process you need to wait for a while for everything to setup correctly behind the scenes. I usually wait 10 - 15 minutes.
      So, basically a good rule of thumb - If Render shows your website is live, you still need to wait for a while afterwards and not open the link or interfere with it. For a while.
      Please also check your python version a newer version like 3.11.1 may cause problems as well.

    • @wx270
      @wx270 ปีที่แล้ว

      ​@@CloudWithDjango wow thanks alot for your prompt response. I did use Python 3.10.6 as stated in the video.
      I have been click and interfering with it for a while now since it said live. So I am just going to wait a bit more as you stated here

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      @@wx270 Yes, that python version works well. My pleasure!
      Yes, I'd recommend just waiting a bit. If you see it still doesn't work after waiting for sometime. I'd then suggest re-creating your Web service, and following the process again, but this time without opening the link too early.
      Additionally, I'd also limit your packages for your first deployment, just to ensure that it's not an incompatible package version causing the issue.

    • @wx270
      @wx270 ปีที่แล้ว

      @@CloudWithDjango Good morning, so I waited and eventually had to redeployed the web service as you stated. This time is showed “Sever Error 500”.
      None the less, I tried to navigate to other areas of my app and realized the styling wasn’t showing but I could see the text.
      Is this due to my static files?

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      @@wx270 Hi,
      Thank you for the detail.
      Yes, this is a possible reason for the failure, since I don't cover static files In this tutorial. You would need to use Amazon S3 or Cloudinary for that and not Render for the live server.

  • @gogaboga8809
    @gogaboga8809 ปีที่แล้ว

    Very informative video!

  • @MdSuhailKhan-f3x
    @MdSuhailKhan-f3x 9 หลายเดือนก่อน

    Very much helpful

  • @alejandroriosmunoz8100
    @alejandroriosmunoz8100 ปีที่แล้ว

    Thank you so much!

  • @brawlboy1382
    @brawlboy1382 ปีที่แล้ว

    How can we include celery

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      I have a video on my channel that deals with celery.
      Hopefully that can give you some further insight.
      Good luck!

    • @brawlboy1382
      @brawlboy1382 ปีที่แล้ว +1

      @@CloudWithDjango Thank you I'll check it out

  • @gonzalosanchez8412
    @gonzalosanchez8412 10 หลายเดือนก่อน

    Muchas gracias!!!

  • @mlsandreas
    @mlsandreas ปีที่แล้ว

    Thank you!!

  • @Coden69
    @Coden69 ปีที่แล้ว

    Very good

  • @brylontoc6140
    @brylontoc6140 ปีที่แล้ว

    Hello, do you have a tutorial about deploying drf + MySQL for Free also? thank you.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Thank you for your question.
      Unfortunately, I haven't got a tutorial on that.

    • @brylontoc6140
      @brylontoc6140 ปีที่แล้ว

      @@CloudWithDjango will you be making on that one? Waiting for it, if there is. Thank you. or what hosting website would you suggest? thank you.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      @@brylontoc6140 I appreciate your interest, but unfortunately I have a lot of tutorials to do, so it might be a long wait.
      So, I'd suggest watching another tutorial. I can't speak for drf, but last I checked you should be able to provision a MySql database with Railway.

    • @brylontoc6140
      @brylontoc6140 ปีที่แล้ว

      @@CloudWithDjango okay thank you very much sir. Appreciated for your response. 🙏

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      @@brylontoc6140 My problem at all.
      All the best with your project!

  • @inteliconn995
    @inteliconn995 ปีที่แล้ว

    Thanks!

  • @jhoncabrera2369
    @jhoncabrera2369 ปีที่แล้ว

    good

  • @ingafter6335
    @ingafter6335 ปีที่แล้ว

    Hi,
    I followed you steps, but it required Credit Card, but yours did not.
    Why does it different?
    Are you cheating us or things have changed in Render?
    It just 4 days ago you published this video.
    Pleas advise ...
    Thanks

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      This is a completely dishonest and an unnecessary accusation to insinuate. It is free. There is no reason for you to add a credit card. Nothing has changed in Render.
      If you want to put a credit card on file you can (which wasn't in my tutorial at all), but it's optional until you start making use of priced services.
      As you can see in the link below and in the video it explicitly states the free tier being $0.
      render.com/pricing
      So, even if you did put a credit card on file, all the services that I chose are part of the Free tier as clearly shown in the video, so you won't get charged.
      Everything is explained in the video meticulously. Hence, the reason for it being so long.
      I also mention in the video that you will be limited by resources.

  • @janesroomm
    @janesroomm ปีที่แล้ว

    hello! I have a error. How can I update pip? Jun 4 02:43:19 PM [notice] A new release of pip available: 22.2.1 -> 23.1.2
    Jun 4 02:43:19 PM [notice] To update, run: pip install --upgrade pip
    Jun 4 02:43:20 PM ==> Build failed 😞

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi Jane,
      Please ensure that you don't include pip in your requirements.txt file. You shouldn't have this problem then.