Skip to content
Browse files

Added readme

  • Loading branch information...
1 parent a7b6cf4 commit 9eec212a1ab3f5d04952dfe0ef631640b6a0d467 @didip committed Aug 25, 2009
Showing with 17 additions and 0 deletions.
  1. +17 −0 README
View
17 README
@@ -0,0 +1,17 @@
+== Usage for Pylons ==
+
+1. Put all these files on /your_projects/lib/
+
+2. On /your_project/config/environment.py, add the following:
+
+import your_project.lib.beaker_tyrant as beaker_tyrant
+import beaker
+beaker.cache.clsmap['ext:beaker_tyrant'] = beaker_tyrant.TokyoTyrantManager
+
+3. On your development.ini, add the following
+
+beaker.session.type = ext:beaker_tyrant
+beaker.session.url = 127.0.0.1:1978
+
+Thanks to Jack Hsu for providing the tokyo example:
+http://www.jackhsu.com/2009/05/27/pylons-with-tokyo-cabinet-beaker-sessions

0 comments on commit 9eec212

Please sign in to comment.
Something went wrong with that request. Please try again.