Configure Django with postgres

Django comes preconfigured with SQLite db. This is goood for playing with django features or doing some lightweight apps. For big applications we have to use the mysql or postgreSQL db. This article will give a step by step procedure to install and configure postgreSQL with django framework. Step 1 – Create python virtualenv for our… Continue reading Configure Django with postgres

Deploying Django with nginx and gunicorn

Assumption – Server – Ubuntu 14.04 with non-root user and sudo access (user django in this example) Setup django project – Clone/copy your django project in home directory. in this example I am putting it in /home/django/myproject (myproject is django project directory) Install virtualenv – To keep python dependencies for different projects separate we use… Continue reading Deploying Django with nginx and gunicorn