Report this

What is the reason for this report?

How to stop gunicorn/nginx from serving up the default project on ubuntu/django droplet?

Posted on June 17, 2014

I am working through this tutorial (and those linked from it) https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn

I have my own ‘hello world’ django project that I’ve pulled onto the droplet using git. I went to configure gunicorn/nginx as per the tutorial, but I realised these are already running, serving up the django_project default that comes with the pre-configured django droplet. I did a pkill gunicorn, but it starts back up again as soon as I kill the processes. Is supervisord (or similiar) already running?

How do I remove all trace of the django_project from the droplet to allow me to get my own project running?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.