Ruby-webby
From Bashlinux
Installation
- Install `oniguruma` development package<
>
Debian: libonig-dev<
> Fedora: oniguruma-devel
- As root run the following command:
gem install webby haml coderay ultraviolet RedCloth rdiscount bones cucumber
The above line will build and install the proper gems in order to setup webby gem, the second line will show the available templates
Create a webby blog site
- Check the available templates
webby-gen -t Available Templates blog, presentation, tumblog, website
- Create the blog site called myblog
mkdir -p /var/rails cd /var/rails webby-gen blog myblog
- Edit the necessary files on content folder
- Edit the Sitefile in order to deploy application to the server location
- Deploy changes
webby deploy:ssh
Note that `ssh` could be replaced by `rsync`