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 (
commit c59453e0c1d4ca97db492ce1f99ac8e625a9559a
tree 9a0cb20b8d147f41047f78be528678c0540b2ee5
parent e633939394077aa16c6aa5c8402915a0d2a74d2b
tree 9a0cb20b8d147f41047f78be528678c0540b2ee5
parent e633939394077aa16c6aa5c8402915a0d2a74d2b
bones /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Aug 15 18:28:56 -0700 2008 | |
| |
README | ||
| |
Rakefile | Thu Feb 05 11:52:15 -0800 2009 | |
| |
bin/ | Thu Feb 05 18:15:25 -0800 2009 | |
| |
bones.gemspec | ||
| |
lib/ | ||
| |
pushables/ | ||
| |
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 or later should work)
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 







