Every repository with this icon (
Every repository with this icon (
tree e2ae6bd45dd415be113d0bcf2ed04f77ee50af90
parent db6b0a47efac483b1e8430264a29d68d6ed1437a
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Sep 25 16:14:55 -0700 2008 | |
| |
README | Thu Nov 06 02:30:12 -0800 2008 | |
| |
README.textile | Mon Nov 03 14:39:17 -0800 2008 | |
| |
Sitefile | ||
| |
config.ru | Wed Sep 24 14:40:45 -0700 2008 | |
| |
content/ | ||
| |
deploy_app.rb | ||
| |
layouts/ | Tue Jan 13 08:22:03 -0800 2009 | |
| |
lib/ | Tue Jan 13 08:22:03 -0800 2009 | |
| |
public | Thu Sep 25 16:14:55 -0700 2008 | |
| |
tasks/ | Tue May 19 11:59:34 -0700 2009 | |
| |
templates/ | Sun Sep 28 07:40:22 -0700 2008 | |
| |
tmp/ | Wed Sep 24 13:26:20 -0700 2008 |
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
- fork the repository
- read about Webby (here’s a great tutorial)
- delete our content and layout and stuff you don’t need
- create your webby layout and content and stuff
- set up your webserver and deploy first manually
- ?
- profit
And send a pull request if you improve this setup with other useful things.








