Difference between revisions of "Ruby-webby"

From Bashlinux
Jump to: navigation, search
(Redirected page to Ruby Webby)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
#REDIRECT [[Ruby Webby]]
__NOTOC__
 
= Installation =
 
# Install `oniguruma` development package<<BR>>
 
Debian: ''libonig-dev''
 
Fedora: ''oniguruma-devel''
 
# As root run the following command:
 
 
<pre><nowiki>
 
gem install webby haml coderay ultraviolet RedCloth rdiscount bones cucumber
 
</nowiki></pre>
 
 
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
 
 
<pre><nowiki>
 
webby-gen -t
 
 
Available Templates
 
blog, presentation, tumblog, website
 
 
</nowiki></pre>
 
 
# Create the blog site called ''myblog''
 
 
<pre><nowiki>
 
mkdir -p /var/rails
 
cd /var/rails
 
webby-gen blog myblog
 
</nowiki></pre>
 
 
# Edit the necessary files on ''content'' folder
 
# Edit the ''Sitefile'' in order to deploy application to the server location
 
# Deploy changes
 
 
<pre><nowiki>
 
webby deploy:ssh
 
</nowiki></pre>
 
 
Note that `ssh` could be replaced by `rsync`
 

Latest revision as of 00:47, 7 June 2015

Redirect to: