public
Description: Easy website wireframing with HAML, SASS, Red, Compass, jQuery and Polypage.
Homepage:
Clone URL: git://github.com/nmerouze/newyork.git
name age message
file .gitignore Loading commit data...
file README.textile
file main.rb
directory public/
directory red/ Sun Nov 09 06:58:52 -0800 2008 Fix bugs. Add Red support (doesn't work with JR... [nmerouze]
directory sass/ Fri Nov 07 06:01:55 -0800 2008 Initial import. [nmerouze]
directory views/
README.textile

New York

Easy website wireframing with HAML, SASS, Compass, Red, jQuery and Polypage.

Download

http://boldr.fr/downloads/newyork/newyork-1.0.1.zip

Run

The bundled version includes JRuby, so you don’t need to have Ruby installed on your system. To launch New York type the following command:

java -jar jruby-complete-1.1.5.jar main.rb

Installation from sources

First install the required gems:

sudo gem install mongrel sinatra extlib red
git clone git://github.com/nex3/haml.git
cd compass
rake install
git clone git://github.com/chriseppstein/compass.git
cd compass
rake install

Then:

git clone git://github.com/nmerouze/newyork.git
cd newyork
ruby main.rb

What’s included?

And after?

Just add your HAML files in views/, your SASS files in sass/, your Red files in red/ and all your static files in public/.

To access to your pages type the following URL: http://localhost:4567/mypage

Use ERB

In main.rb, change this:

get '/' do
  haml :index
end

get '/:name' do
  haml params[:name].to_sym
end

Into this:

get '/' do
  erb :index
end

get '/:name' do
  erb params[:name].to_sym
end