Use this for Gunicorn.service code: Notice the separation of the access log. Rather than override the previous log, we create a totally separate one. This will produce a different result and reflect the production website and not the development one.

Reboot all servers after changes (nginx, gunicorn) when in doubt.

A strongly-typed programming language is one in which each type of data (such as integer, character, hexadecimal, packed decimal, and so forth) is predefined as part of the programming language and all constants or variables defined for a given program must be described with one of the data types. Certain operations may be allowable only with certain […]

Following the Python TDD study track, I came across an older reference(but still relevant) explanation of what a context manager is. I will do a full write up when I have a chance. Python 2.5 : The ‘with’ statement == Have to spend a whole day to rewrite this explanation == Writing Context Managers […]

  ls -lah

via Explain Shell

postgreSQL :


Django: Add this first to

then check here:


Use the command cat  or tail  to see the output.

grep -rnw “superlists.settings” -e “DJANGO_SETTINGS” Explanation of flags:

To configure fabric to connect to remote hosts using SSH keyfiles on Amazon EC2 instances. add the following after REPO_URL (If you are following OBTTG Tutorial : Chapter 11):