Degutis.org

This is my subtitle. Sexy, right?

Dead Blog
Posted on Jul 05, 2010 | 0 comments | tags: web, python, django, cocoa, ipad, apple, tutorial, mac, wwdc

This blog is dead.

For more current news, check out blog.degutis.org. Some say it has changed their lives. Others say it 404s. And some say, if it's a full moon and the day is an odd number and the wind blows in a certain direction, and if you listen very carefully, you can hear that blog whisper "rosebud" under the wind. I've tried this, and have marked it as "cannot reproduce".

...Read More

Blagomatic
Posted on Apr 18, 2010 | 1 comments | tags: web, django, cocoa

Just now I added an API to my blog django app, which lets me post from my Mac app.

In fact, I'm posting from it right now. It's freakin sweet.

...Read More

Sweet Web Setup
Posted on Apr 18, 2010 | 0 comments | tags: web, python, django

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

New Site
Posted on Apr 17, 2010 | 2 comments | tags: web, python, django

A few weeks ago I finally decided to stop putting so much effort into deciding between Python/Django and Ruby/Rails, and to just pick one. So with a flip of a coin, I picked Python+Django and haven't looked back.

This entire site (blog included) was written in a matter of day (in my spare time, even!) using Django. It's ridiculously fun stuff! Django makes writing websites super simple and clean, much nicer than PHP ever was. If I can help it, I won't be touching PHP ever again, in favor of Django+Python!

...Read More