Viewing posts for the category Servers
After a hearing a great Gunicorn talk by Brian Riley of EdgeCast.com at the LADjango meetup I decided it was time to dive in to a modern server for Django. After getting around a few bumps I realized setting up Gunicorn with NGINX was easy. Even though I appreciate - and was blown away by - Graham Dumpleton's mod_wsgi for Apache, I feel it's time to push forward. I am glad I did and as a result, if I am unable to use Heroku on a project I will now most likely use NGINX, Gunicorn, and Postgres as the stack for some Django projects.
Fabric and Git have made my life much easier. I am working on a project that is on a server farm. Deploying changes to django models, views and templates from my local machine to each server on the server farm is as easy as typing two commands in the Terminal on Mac:
A while back I created a Cloud Server at Rackspace for a small website. The software stack is Nginx, Apache, WSGI, Postgres and Django. When another project came up - one that required a load balanced architecture - I wanted to simply use copies of that original server to build out a new server farm. The process for doing so was not as intuitive as I had hoped for. After digging around I decided to just ping Rackspace Support over Live Chat. As usual Rackspace Support was super quick to respond, and pointed me in the right direction. The process to copy a Cloud Server is very simple:
Page 1 of 1: