It took me a few days to really get this website set up so I can easily develop and deploy, but ultimately I got it working where I can test locally, and when I'm ready to push things to www.degutis.org, I can just type git push web — it's super simple, and who doesn't love super simple?
It was actually pretty simple to get this working. Basically, apache serves my django project at degutis.org via mod_wsgi. There's an extra 2 lines of code in degutis.org's vhost config file which force apache to run my wsgi app in daemon mode, which is convenient because it means all I have to do to reload my django project on my server, is just touch my .wsgi file. So that solves half the battle, the other half being actually pushing source code to my server, and that was only a slight bit tricker.
...Read More