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
0 answers

Python Django Ubuntu Server 16.04 aws Internal Server Error

Hi so I am trying to deploy my portfolio to Ubuntu Server 16.04 but I keep getting internal server error. To walk through what i have done i created the instance and changed the HTTP and HTTPs security settings to anywhere. After that i launched…
0
votes
0 answers

How to restart the Django application once the server reboots?

I have deployed Django application with gunicorn + nginx + postgres. I am using digitalocean ubuntu server.Which sometimes once in a month reboots automatically so that application goes down. How to auto restart the application? my start-up…
Sidhartha
  • 988
  • 4
  • 19
  • 39
0
votes
1 answer

Deployment of Django in local network while continuing development

The question is in the title. I need to deploy a Django application in a local network (i still don't know how to do but i suppose it's quite easy) but i still need to develop it. My question is how to do to allow users to use the application while…
0
votes
1 answer

Understanding Elastic Beanstalk?

I am new AWS, I am looking to deploy my Django app with RDS, when I googled found AWS Elastic Beanstalk, which helps to manage app easier but does include auto_scaling, load balancer, my question is I just want to deploy my Django and RDS i don't…
0
votes
1 answer

How to deploy Django app VPS using Apache2?

I'v followed this tutorial which is recommended by various tutorial to deploy Django. https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-14-04 This is the content of my…
jax
  • 3,927
  • 7
  • 41
  • 70
0
votes
1 answer

How to set variables to supervisor and gunicorn config from os variables?

Hi i have set up some variables to Linux(have added them to ~/.bashrc). I know that it is possible to set variables to supervisor environment= KEY=value and to gunicorn i may simple add in config export KEY1='value' Is any way to add variables…
Beliaf
  • 577
  • 2
  • 8
  • 25
0
votes
1 answer

Create react app + Django deployment Uncaught SyntaxError: Unexpected token <

I've been trying to deploy an app to pythonanywhere but the page is just blank, because main.6f259c1b.js file throws error` Uncaught SyntaxError: Unexpected token < ` I've been following the instuctions on this article…
0
votes
2 answers

Where do you deploy your Django application online?

I'm developing a web application with django. I used to use Openshift to publish/deploy my work. What do you think is the best platform? My only requisite is to have an usable and scalable free plan. Then when things comes bigger I will pay.
Stefano
  • 3,127
  • 2
  • 27
  • 33
0
votes
1 answer

File uploads in Heroku deployment with Django

So I was finally able to set up local + prod test project I'm working on. # wsgi.py from dj_static import Cling, MediaCling application = Cling(MediaCling(get_wsgi_application())) application = DjangoWhiteNoise(application) I set up static files…
Nifled
  • 412
  • 3
  • 15
0
votes
0 answers

Django : How can I prepare datasets in database before deploying web application?

I created e-commerce web application using Django. Before I deploy my application ver2, I have to create items (datas) to sell. (ver1 is running now) Because of one-to-many, many-to-many relations among the models, it is much easier to create item…
user3595632
  • 5,380
  • 10
  • 55
  • 111
0
votes
2 answers

Django-admin page is missing select all checkbox on deploy

I've deployed my Django project on DigitalOcean.com. I've set static folder and run python manage.py collectstatic which worked correctly. The only problem is that I can't see select all checkbox in admin page. This is in my local Django…
Milano
  • 18,048
  • 37
  • 153
  • 353
0
votes
1 answer

Hiding fcgi script file name from url in django app hosted with fastcgi and apache

I have following .htaccess file - AddHandler fcgid-script .fcgi DirectoryIndex index.fcgi RewriteEngine On RewriteBase / RewriteRule ^index\.fcgi$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
Shivendra
  • 556
  • 3
  • 15
0
votes
2 answers

Deploying Django app on Heroku: Error [R10]

Trying to deploy my django app on Heroku, I followed the official guide and managed to get the example 'hellodjango.app' working. Now the next step is to deploy my own project, but doing so shows me the following error on…
0
votes
1 answer

How to change project url in django

I want to deploy a project in with the base url www.example.com/project_name. How can I achieve this? I can successfully deploy it to www.example.com, but I need to deploy it in first way. edit: I'm using gunicorn for production and running…
Dheerendra
  • 1,488
  • 5
  • 19
  • 36
0
votes
1 answer

Django 1.8 migrating local postgres database into a heroku database

I've been stuck on this part for a while.After completing all the other steps when I enter git push heroku master, it pushes all the files but how do I migrate my local database? There are no commands for that. My settings.py file is still pointing…
WutWut
  • 1,204
  • 2
  • 17
  • 31