tags:

views:

153

answers:

2

A friend of mine asked to create a static website and I found that making such site using Sinatra is a pure joy. I just wrote all my routes like this:

get '/index.html' do
  haml :index
end

get '/app.css' do
  sass :app
end
....

So I was able to use layouts, and haml and sass to put site together quickly.

To create the static site I used

wget -r -l2 http://localhost:4567

Which did work pretty well, but I imagine there is a better way to create a static site from a Sinatra code?

+1  A: 

Try StaticMatic.

rspeicher
+1  A: 

Try Httrack

Pedro