Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Demonstration of Padrino and Redis via Ohm with Admin Console

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 admin
Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 .components
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.markdown

Padrino and Redis Sample Application

This is a sample application showing how to use Padrino with Redis via Ohm


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

Anyway. Ensure you have redis 2.0.0-rc3 running locally. Do the following: rvm create gemset padrino-ohm-demo git clone git:// ohm-blog rvm gemset use padrino-ohm-demo gem install bundler --pre cd ohm-blog bundle install bundle exec padrino rake seed bundle exec padrino start

You should now be able to go to here.

Unlike the other demos I've provided, this one has full admin support. Simply use the admin interface. The Account model is a model specific to the Padrino admin interface. If you want to create a new model + admin page: bundle exec padrino g model foo:string bar:string baz:string bundle exec padrino g admin_page


Create a distinct controller/view for post display. This will demonstrate using the admin interface to create/manage posts while using another route to display the post contents.

Something went wrong with that request. Please try again.