scalate Site

How the website works

How it works

The scalate documentation and site is created using WebGen and is stored in git in the same source control system as the code

Editing the source code

If you grab the source code you can get the site source in the webgen directory. If you have webgen installed (see below for instructions) then you can build the website from the code as follows

cd scalate-website
webgen

If you want to edit the files in your text editor and be able to immediately see the site re-rendered in a browser then use

webgen

You can now surf the site and see changes immediately.

If you are on OS X then we highly recommend TextMate as a great editor which supports Textile and Markdown

Installing WebGen

Before running the webgen command above you need to install it by following these instructions

sudo gem install webgen

You also need to install the following gems

sudo gem install --source http://gems.github.com FooBarWidget-mizuho
sudo gem install coderay
sudo gem install feedtools
sudo gem install haml

For code highlighting you will need to install http://pygments.org/.

To be able to deploy the site you will need

sudo port install sitecopy