Permalink
Browse files

readme

  • Loading branch information...
nofxx committed Jul 3, 2009
1 parent 962a784 commit 94e7fec3a4228938d9a893617835b5d8550a171c
Showing with 25 additions and 8 deletions.
  1. +24 −8 README.rdoc
  2. +1 −0 spec/rack/session/tokyo_spec.rb
View
@@ -1,20 +1,36 @@
= TokyoStore
-Tokyo Tyrant based Rails cache store.
+Rack based Tokyo stored (FAST!) Rails session store.
+http://github.com/nofxx/tokyo_store
-*Playground Warning* This is just me playing, maybe, who knows it'll be/have:
-* Fast
-* TTL & Substring Matching
+== Require
+Tokyo Cabinet/Tyrant:: http://tokyocabinet.sourceforge.net/
+Rufus Tokyo:: http://github.com/jmettraux/rufus-tokyo/tree
-== Got nothing better do to?
- script/plugin install..
+== Install
- # session store
- config.action_controller.session_store = :tokyo_store
+ gem install nofxx-tokyo_store
+
+ config.gem 'nofxx-tokyo_store', :lib => 'tokyo_store'
+ ActionController::Base.session_store = Rack::Session::Tokyo
+
+
+== Run
+
+Just start tyrant
+
+ ttserver data.tch
+
+
+== Thanks
+
+Mikio Hirabayashi:: tokyo products
+John Mettraux:: rufus-tokyo
+Luca Guidi:: redis-store - Rack code stolen from here =D
== Copyright
@@ -1,3 +1,4 @@
+# Code from http://github.com/jodosha/redis-store
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
module Rack

0 comments on commit 94e7fec

Please sign in to comment.