Thursday, October 9, 2008

Deploying your Webby site

I've been using webby a lot lately.  It's hot for static-like sites.  The site that I've been really digging into Webby with is TheDailyRefactoring.com.

The cool thing about webby is it's capistrano-like deployment.  You can deploy your site after generating it by using the following command:
$ webby deploy
This won't work until after you setup some constants though.  In your "Sitefile" in the root of your webby-application, you need to set the user, host, and directory of where your site is going to be hosted.

# Sitefile
SITE.user = "web"
SITE.host = ""
SITE.remote_dir = "/www/thedailyrefactoring.com"

After that, you can deploy your site immediately! 

Word to the wise, it pays to setup public-key-authentication between your servers to make this process super simple.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home