reddit is open source. Is there a reason why you didn't use its codebase and built one from scratch?
They make it so easy, too:
https://github.com/reddit/reddit/wiki/reddit-install-script-...
and a VM, ready for VMWare / VirtualBox (it's a vagrant setup, actually): http://www.reddit.com/r/redditdev/comments/qnuxp/pycon_prepa... (about a year old)
For anyone interested in more details, there's a subreddit community about it as well: http://www.reddit.com/r/redditdev