Off topic: Django and deployment
Unfortunately, I have not had much time to work on the game lately. This is partially because I’ve been a bit more social than usual (don’t worry, it’s not permanent), and partially because I’ve been a little busy with a site I’m writing on the side.
It’s nothing major. In fact, it’s really freaking simple. However, since it fits perfectly into Django’s basic feature set, I figured I’d forego my usual, tried and true, boring as hell PHP-from-scratch approach and put Django to the task so I could enjoy the benefits of the free admin interface, simple flat pages, powerful generic views, and… well, Python, since Python rocks hardcore.
Anyway, I put about five hours into it (which included fixing the fugly template I was given for the site), and all that’s really left is to format the templates for the views, since they’re already being slugged, saved and called correctly.
I’ve also been looking at deployment. I’ve heard plenty of horror stories about mod_python and a few less about mod_wsgi… but almost as soon as I started looking at the doc myself I realized it’s trivially easy to deploy django using its runfcgi command with nginx (my web server of choice) relaying requests.
So I think tonight I’m going to put up the site on my EC2 instance and point a subdomain at it; should be a good time.
Comment
Commenting is closed for this article.
