Questions tagged [django-deployment]

django-deployment refers to questions about different ways to deploy Django applications

django-deployment refers to questions about different ways to deploy Django applications.

See documentation.

Also see:

214 questions
0
votes
1 answer

Django Login does not work after Deploy (pythonanywhere.com)

I'm trying to deploy my Django App for a few days. I got the Index Page Working after a lot of guessing. Finally, I found the error. But now it is still not working correctly. I've tried to follow this How To this…
0
votes
1 answer

Django How to Deploy Project pythonanywhere.com

this is the following question of this unanswered post: Django Move Project from Windows Host to Linux Host (and Deploy) I've tried to follow this How To this time: https://tutorial.djangogirls.org/de/django_installation/…
0
votes
1 answer

I am unable to deploy my django 2.2 project due to a static files error

I am trying to deploy my Django 2.2 project with Keroku to see what it looks like during production, but it does not seem to work and I am finding it hard to debug the issue as there isn't solid instructions on static files settings. To give an…
0
votes
1 answer

Unable to load staticfiles after deploying django app on aws-ec2

I am a beginner in aws and I am trying to deploy a django app on aws-ec2. I have set-up gunicorn application server and nginx web server and app loads but without static files. I have followed many answers on stackoverflow but I am unable to fix my…
Vineet
  • 723
  • 4
  • 12
  • 31
0
votes
3 answers

Django 2.2 staticfiles do not work in development

I'm making a new django app where a user can upload images and then they can be displayed on a page. I've read the django docs 10000 times through and I still don't understand why my images aren't loading (DEBUG = True) All my images are going to…
Lumiobyte
  • 65
  • 1
  • 8
0
votes
1 answer

Deploying Django for free

I created a project with django,and I want to deploy it. I prefer not to spend any money on webserver, host... Is it possible? How can I do that? By the way, I can't use Heroku.
Negar
  • 37
  • 8
0
votes
1 answer

Apache Server returning html file in var/www/html but not returning my website

I have a Linux server (Ubuntu) and am trying to set up apache, but the server is not running my actual Django server but instead running an html file in var/www/html. Running sudo systemctl reload apache2 works fine, so I think the problem…
MaisyDoge13
  • 154
  • 1
  • 3
  • 14
0
votes
1 answer

How to deploy django on AWS EC2 using media and static files from S3

I wanna deploy Django project on AWS EC2. For my media files, I need a bucket on S3. My project working good on localhost, and I can access media from S3, but after deploying I can't get AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY that's why I'm…
0
votes
0 answers

Django==2.1 , setting DEBUG to False results in 500 server error

I have the following settings.py file for my django project: """ Django settings for framework project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file,…
c_anirudh
  • 375
  • 1
  • 22
0
votes
1 answer

Django deployment tool

I am looking for ready made deployment tool for django. Looking for tools like following which uses config files value to make deployment. Meteor-up for deployment of meteor.js project. python-lambda for department of python code to AWS lambda.
Pavan Kumar
  • 1,715
  • 1
  • 24
  • 48
0
votes
0 answers

How to deploy a Django app locally on a windows xp machine?

I've got a small python 3 application which I'd like to use on a Windows XP machine. Now, the python shell is not that user-friendly, so I decided to build a GUI for it. I've tried using PyQt (with Qt designer) and TkInter, but I don't like working…
Siem
  • 72
  • 9
0
votes
1 answer

Need help configuring apache .conf file

I want to deploy my django app on a Apache 2.4 server. The same server will host static files. The thing is that this server hosts other php based web sites. In order for all this to work I just need to install mod_wsgi and configure apache's .conf…
Nikita Tonkoskur
  • 1,440
  • 1
  • 16
  • 28
0
votes
3 answers

Can't upload media files django on digital ocean

I've recently deployed a django app on digital ocean. Everything works perfectly fine until I try to create an object containing an image. I get an error saying Server Error (500). Here is what I've tried to do : server { listen 80; server_name…
Fantasmo Clone27
  • 333
  • 1
  • 10
  • 19
0
votes
1 answer

how to deploy python3 django2 website on aws ec2 with mysql

I never hosted any website before may be thats why this task became so tough for me.I searched various codes for deployment but wasn't able to host my website. i used python 3.6.4 and django 2.0.2 with mysql database for my website. It would be a…
user9723456
0
votes
0 answers

Debian Nginx listening but not working

I have had a lot of trouble setting up Nginx for Django on Debian. I tried probably every nginx django conf file I could find on the internet but none of them worked, I assume I cant see the forrest for the trees... So I am running Django 2.0.4 and…
Aokiji
  • 50
  • 1
  • 1
  • 9