Комментарии:
what to do if already have existing database
ОтветитьHello,
When i deploy i get this error:
==> Starting service with 'gunicorn jskanbanproject.wsgi:application'
Apr 3 06:52:13 PM bash: gunicorn: command not found
Failed
Exited with status 127 while running your code.
(And Render don't accept django version 4.1.7 or 4.1.6, so i set the 3.2.18 version in requirements.txt)
Thank you very much!
Ответить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.
Ответить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 ?
ОтветитьHow can we include celery
Ответить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 = <your url goes here without the symbol>
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.
ОтветитьI am not able configure my static and media files plz help!
Ответить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 😞
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..
ОтветитьSuccessful deployed thank you bro
ОтветитьHow to use existing postgres database?
Ответить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
Thank you so much!
Ответитьperfect tutorial THANK YOU 🤟
ОтветитьVery informative video!
Ответитьraise ImproperlyConfigured(error_msg) from exc
django.core.exceptions.ImproperlyConfigured: Set the DATABASE_URL environment variable .i got this error sir, help me pls.
Thank you! I deployed my first django app😢....
ОтветитьSo in the long term the Render Database is not free?
ОтветитьThank you very much!
ОтветитьThanks for the video, but everytime i try, render give the error "ModuleNotFoundError: No module named 'nameofmyapp.wsgi' ". Can you help me?
ОтветитьBro iam sruck with this error bro
django.core.exceptions.AppRegistryNotReady :apps aren't loaded yet.
Bro iam deploying my chat application with redis iam stuck with many errors bro could you plzz help me with it
Also Iam a member of googledevolopersrudentclub ....I reccomended my team to watch your channel but they also stuck with similar errors
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.
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!
Ответить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.
Ответить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?
Ответить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?
Muchas gracias!!!
Ответить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.*, <3.7
ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32 "
How many days access this site?
ОтветитьERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32==306
please help me i want deploy my project on render
Very much helpful
Ответитьu are perfect ty for thi clear presentation
ОтветитьTruly amazing tutorials. Thank you so much for sharing.
Ответитьyou really did a great job on this tutorial , just what i was looking for. Thankyou
ОтветитьMy css is not applying why? Even default admin pannel is not get its style
ОтветитьGot not found after deploying
ОтветитьHi sir my project successfully deployed but it don't shows the static files on the live server
pease help on this issue
Hello I developed a server 500 error pls how can I fix it
ОтветитьCan we serve static files using whitenoise instead of S3 bucket?
Ответитьwhy is it saying my gunicorn command is not found
Ответить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?
Ответить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'
It is really helpful! thank you sir.
ОтветитьDo you know why I lose my data stored in the database each time i reload the page or deploy a last commit?
ОтветитьGreat video as always. Thank you.
Ответить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.
Ответить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.
Ответить