Demonstration of Padrino and Ripple
Ruby JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead of lusis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
lib
log
public
.components
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.markdown
config.ru

README.markdown

Padrino and Riak Sample Application

This is a sample application showing how to use Padrino with Riak via Ripple

Directions

I'm going to assume you're using 'rvm'. If not, a pox on all your houses!

Anyway. Ensure you have riak running locally. Do the following: rvm create gemset padrino-ripple-demo git clone git://github.com/lusis/padrino-ripple-demo.git ripple-blog rvm gemset use padrino-ripple-demo gem install bundler --pre cd ripple-blog bundle install bundle exec padrino start

You should now be able to go to here.

The layout is a stripped down version of the one used in the Padrino admin interface. Missing Functionality

  • No exceptions thrown Exceptions don't appear to be working properly. I'm working on it

TODO

  • Get exceptions working
  • Create a second model and demonstrate relationships between models Hopefully you can see from the app/controllers/post.rb how to convert Ripple conventions into Padrino conventions. That's the real goal and usually the hardest part of using any new framework.