Every repository with this icon (
Every repository with this icon (
tree 78dbe3b1a8b62bde33d0e68798d158907d36a5e6
parent 5a2654b06ec647b35a155c0639865458c0f8e281
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README.md | Fri May 15 22:22:44 -0700 2009 | |
| |
Rakefile | Sun May 03 14:34:24 -0700 2009 | |
| |
app.rb | Fri May 15 22:13:06 -0700 2009 | |
| |
app.ru | Sun May 03 10:17:23 -0700 2009 | |
| |
public/ | Wed Jun 03 13:37:42 -0700 2009 | |
| |
views/ | Sat May 09 21:26:22 -0700 2009 |
Sammy
Backend Example
This is a simple To-do list type application built with a simple ruby backend and a sammy front-end.
The backend is built using sinatra (+rack), and cloudkit.
Setup
Besides Ruby you also need some gems. Currently, there are some issues with Rack 1.0 and Sinatra so you need to install the pre-release sinatra from github.
sudo gem install cloudkit haml sudo gem install sinatra-sinatra -s http://gems.github.com
Once you have everything installed from this directory (examples/backend) run:
rake start
Notes
!!! Todo's are stored in memory! AKA if you restart the rack application you will loose you're todos. This is really just a demonstration. If you really want to use this, check the cloudkit docs to see how to set cloudkit up to store info in Tokyo Cabinent.







