rubyhamlsasscompass-sassstaticmatic

Simple Compass+HAML webserver


I love compass (SASS) and HAML. I've been using staticmatic for building static web pages. Staticmatic seams outdated (no updates, bugs). What are the alternatives?

What I would like:

$ preview .
> Server started ad port XXXX
> Now you can use Compass and HAML

:). So... no configuratio, no directory structure, just haml and sass files.


Solution

  • I am currently using Compass/Sass/Haml with middleman. https://github.com/tdreyno/middleman It is very easy to use, and runs a sinatra in the background so you can see your changes live in your web browser.

    After you are done editing and previewing your markup it builds static HTML from your stack of Compass/Sass/Haml. See https://github.com/tdreyno/middleman/wiki for usage.

    This requires no conf at all except to tell it which templating engines you are using at setup so I think it is exactly what you are looking for.