public
Fork of scharfie/bones
Description: Simple, Rack-based HTML mockup framework for designers using ERB.
Homepage: http://github.com/rpheath/bones/blob/master/README
Clone URL: git://github.com/rpheath/bones.git
rpheath (author)
Thu Feb 12 13:55:04 -0800 2009
commit  93cf3980f92840670c9c95aef00fd73def64310d
tree    1d836e6b21c0a27cd18b15e0b7d162d2f7a46960
parent  d32150706bac2066322b64e393d8d53069664310
bones /
name age message
file .gitignore Fri Aug 15 18:28:56 -0700 2008 Ignoring .svn directories in case bones is used... [scharfie]
file README Loading commit data...
file Rakefile Thu Feb 05 11:52:15 -0800 2009 Added tests [scharfie]
directory bin/
file bones.gemspec
directory lib/
directory test/
README
Bones, the simple HTML mockup framework.

What it does:

  - Provides a simple framework for creating views
    without worrying about controllers
  - Allows the building of a complete static website
    out of views, partials, and layouts which can
    then be combined into full HTML pages for deployment
    onto ANY webserver.

Requirements:

  - ActiveSupport
  - rack (0.3.0 only at this time)

Starting it up:

  - Install

    sudo gem install scharfie-bones -s http://gems.github.com

  - Generate:

    bones my_bones_app
    cd my_bones_app

  - Serve

    rake server
 
  - Browse:

    http://localhost:3000
  
Flatten your views into .html files:

  - Cache
    rake cache            # without versioning
    rake cache:versioned  # with versioning

Then upload the entire public/ directory to your server.

Advanced features:

  - Use a base URL path when caching
    (for example, you need to deploy to example.com/mybonesapp)

    rake cache BASE=/mybonesapp

  - Use custom cache directory

    rake cache DESTINATION=/some/other/path

  - Dry-run (noop) for testing settings without creating any files

    rake cache NOOP=true