Permalink
Browse files

add procedure to install in README before I forget

  • Loading branch information...
tsimbalar committed May 24, 2012
1 parent ba3d4d2 commit b2e2023da2b7c5b9ab52932f3f63a98980b55c11
Showing with 48 additions and 0 deletions.
  1. +48 −0 README
View
48 README
@@ -7,3 +7,51 @@ It uses stuff from :
* https://github.com/stevegraham/slanger
+
+Before I forget, to get Slanger working on my MacBook Pro with OSX Lion and be able to work locally :
+
+* XCode latest version + command line tools
+* Homebrew to easily get wget :p
+* install Redis witch is necessary for Slanger (see http://redis.io/download ) :
+
+ wget http://redis.googlecode.com/files/redis-2.4.14.tar.gz (other version)
+ tar xzf redis-2.4.14.tar.gz
+ cd redis-2.4.14
+ make
+ make test
+
+ sudo mv src/redis-server /usr/bin
+ sudo mv src/redis-cli /usr/bin
+ mkdir ~/.redis
+ mv redis.conf ~/.redis
+
+* be sure to have ruby installed, with version 1.9.2-p290 or greater ... I didn't so I installedit via rvm, to avoid conflicts with the System version of Ruby :
+
+ # install rvm
+ $ curl -L get.rvm.io | bash -s stable
+ # ... and do what they ask to do (source ~/.rvm/scripts/...)
+
+ rvm get head
+ rvm install 1.9.3
+ rvm use 1.9.3
+ rvm --default 1.9.3
+
+ gem install slanger
+
+
+When all this is done, you can :
+* launch redis with default params:
+
+ redis-server
+
+* launch slanger passing the key and appId in params (+ more options if needed)
+
+ slanger --app_key mykeymouse --secret theSecret
+
+* go to the folder for the Play app
+
+ play run
+
+* http://localhost:9000
+
+* review the configuration in application.conf if needed ...

0 comments on commit b2e2023

Please sign in to comment.