This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
newyork /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.textile | ||
| |
main.rb | ||
| |
public/ | ||
| |
red/ | Sun Nov 09 06:58:52 -0800 2008 | |
| |
sass/ | Fri Nov 07 06:01:55 -0800 2008 | |
| |
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







