Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Nov 26 08:21:41 -0800 2008 | |
| |
LICENSE | Sun Nov 09 07:29:23 -0800 2008 | |
| |
README.textile | Wed Nov 26 08:23:58 -0800 2008 | |
| |
main.rb | Wed Nov 26 08:21:41 -0800 2008 | |
| |
public/ | Sun Nov 09 06:58:52 -0800 2008 | |
| |
red/ | Sun Nov 09 06:58:52 -0800 2008 | |
| |
sass/ | Fri Nov 07 06:01:55 -0800 2008 | |
| |
views/ | Sun Nov 09 06:58:52 -0800 2008 |
New York
Easy website wireframing with HAML, SASS, Compass, Red, jQuery and Polypage.
Download
http://boldr.fr/downloads/newyork/newyork-1.0.2.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 lib/jruby-complete.jar main.rb
Note: Red doesn’t work with JRuby. If you want to use it, please read “Installation from sources” section.
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
License and support
© 2008 Nicolas Mérouze, under an MIT license. http://www.opensource.org/licenses/mit-license.php
Please leave any bugs or feedback at nicolas.merouze [at] gmail [dot] com







