public
Description: budapest.rb blog
Homepage: http://ruby.meetup.hu
Clone URL: git://github.com/lackac/budapestrb-blog.git
lackac (author)
Mon Jun 22 06:46:30 -0700 2009
commit  1ee70d7c14518a043724ec02a98ba11dd62ce787
tree    e2ae6bd45dd415be113d0bcf2ed04f77ee50af90
parent  db6b0a47efac483b1e8430264a29d68d6ed1437a
name age message
file .gitignore Thu Sep 25 16:14:55 -0700 2008 initial (and working) webby upload, with test post [gbence]
file README Thu Nov 06 02:30:12 -0800 2008 unformatted readme [lackac]
file README.textile Mon Nov 03 14:39:17 -0800 2008 Added GitHub compatible extension to README and... [lackac]
file Sitefile Loading commit data...
file config.ru Wed Sep 24 14:40:45 -0700 2008 removing Rack extensions because of a bug simpl... [lackac]
directory content/
file deploy_app.rb
directory layouts/ Tue Jan 13 08:22:03 -0800 2009 Shorter last posts, UserVoice widgets [lackac]
directory lib/ Tue Jan 13 08:22:03 -0800 2009 Shorter last posts, UserVoice widgets [lackac]
file public Thu Sep 25 16:14:55 -0700 2008 initial (and working) webby upload, with test post [gbence]
directory tasks/ Tue May 19 11:59:34 -0700 2009 Fix rake file for new webby version [lackac]
directory templates/ Sun Sep 28 07:40:22 -0700 2008 adding "all" and "day" templates [gbence]
directory tmp/ Wed Sep 24 13:26:20 -0700 2008 bare passenger rack app, static test page [lackac]
README.textile

This is the budapest.rb blog with Webby.

Webby

Webby is a fantastic little website management system. It would be called a content management system if it were a bigger kid. But, it’s just a runt with a special knack for transforming text. And that’s really all it does – manages the legwork of turning text into something else, an ASCII Alchemist if you will.

We use Webby to build our blog. It has everything we need and it’s lightning fast since it’s just a bunch of static html files when built. For commenting and including special stuff in our blog posts we wrote some useful helpers which you can find in the lib directory. Some of these might be specific to our blog so be sure to check them before using in your own site.

Git

You must know something about git if you’re reading this. It’s a distributed version control system and a realy great one too. GitHub is a place where we can host our repository. We use git because it best suits our needs and use GitHub because it has a great set of features, it’s free for open source stuff and it supports post receive hooks.

Deployment

We have a simple deploy script as a Rake application in deploy_app.rb. This is set up for Passenger in config.ru and the public url is set up in our GitHub repository as a Post-Receive URL. So if we include the ‘:deploy:’ string in one of our commits and then push to GitHub then the deploy script will receive the commit infos and decide to build the site and restart the server. Nice, huh?

Usage

  1. fork the repository
  2. read about Webby (here’s a great tutorial)
  3. delete our content and layout and stuff you don’t need
  4. create your webby layout and content and stuff
  5. set up your webserver and deploy first manually
  6. ?
  7. profit

And send a pull request if you improve this setup with other useful things.