All Questions
Tagged with deployment django
1,383
questions
0
votes
0
answers
12
views
Keep getting error while uploading Django project in vercel
while i am deploying my Django project using vercel i am keep getting this error
Error: No Output Directory named "staticfiles_build" found after the Build completed. You can configure the ...
0
votes
0
answers
21
views
Stripe payment not going through in production but working in development
I have a django project that I am deploying and have a stripe integration for payments in it. It works perfectly fine locally and goes through but does not work on my linux server. What could be ...
0
votes
0
answers
39
views
Problem in deploying django app using plesk
I am trying to deploy my django app and i am using plesk as a host.
But i have 2 problems
In order to reach the website instead of
typing mydomain/login i have to type mydomain/templates/login.html
...
0
votes
0
answers
24
views
Django Deploy Nginx Bad Gateway no such file or directory
So, I've been struggling for the past week to deploy my Django project on my VPS server (domains.co.za). After all this time, I managed to figure out a few things on my own. My server runs on ...
0
votes
1
answer
86
views
Coolify Django Deployment
I'm using Coolify and I want to deploy a Django application. I created an entrypoint.sh
#!/bin/sh
set -e
echo "Running migrations..."
python manage.py migrate
echo "Collecting static ...
1
vote
1
answer
43
views
Permission Denied and Python Module Issues when Deploying Django with Apache on Ubuntu
I'm encountering difficulties while trying to deploy my Django website using Apache on an Ubuntu server. Here are the details of the problem:
Error Messages:
Current thread 0x00007e9faacab780 (most ...
0
votes
2
answers
51
views
How do I minify my HTML so that CSS and FontAwesome and Bootstrap names are reduced
I have a Django website that displays a table with data. It uses FontAwesome and Bootstrap for styling - which leads to some lengthy HTML (a standard page is 136k).
Eg Some TDs contain an arrow using ...
0
votes
1
answer
77
views
Bad Request and Invalid HTTP_HOST header in deployment NGINX + Gunicorn + Django?
Could you, please, help me with some suggestion where or how to find a resolution of my DisallowedHost exception?
I have deployed my Django project to the DigitalOcean Ubuntu server with Nginx + ...
0
votes
0
answers
34
views
Django Static Files Not Loading Correctly in Production with Apache
I've been struggling with serving static files in a Django application deployed on Apache. Despite following numerous guides and suggestions, I'm still encountering 404 errors for my static files. ...
0
votes
1
answer
23
views
How to deploy front end & backend apps on same machine with same domain but different ports?
I have two apps one for frontend built using ReactJS and one is for backend built using Django. I have server machine where I have deployed both the apps. Now I want to use Nginx (because of SSL) to ...
0
votes
1
answer
28
views
Index file shown but not the live website
enter image description hereI have deployed my website in the cpanel of namecheap but it shows the following problem in the given image. How can i fix it?
I tried to change the .htacces file but it ...
0
votes
0
answers
27
views
Cannot access the media files in production via Nginx
I am trying to access the media files using Nginx.
The file exists in the directory: /usr/src/app/backend/media/profile/c4ebe33d-7da1-4a62-bb17-8da254d69b36, where the part profile/c4ebe33d-7da1-4a62-...
0
votes
0
answers
12
views
How to deploy Django Webapp with subdomain
I have a domain as abc.com. I have created subdomain as xyz.abc.com.
I have two Django Webapps both are not same. I want to deploy both Django Webapps with this domain and sub-domain on same VPS ...
0
votes
0
answers
58
views
Django works perfectly on a local machine, but doesn't work in production
Django works perfectly on a local machine, but has errors with Postgres in production (I am using the same postgres DB in prod and locally).
Django server hosted on Railway gives me this:
Settings (...
0
votes
0
answers
24
views
how do i make a form submission permanent in my django project?
in my django project
models.py =
from django.contrib.auth.models import AbstractUser
from django.db import models
from django.utils import timezone
class User(AbstractUser):
profile_pic = models....