Permalink
Browse files

added a Gemfile and a little setup guide for easier setup

  • Loading branch information...
1 parent 09b6125 commit d77996e370eb9906689650cc53a6301c18eaf376 ben committed Jun 12, 2011
Showing with 38 additions and 14 deletions.
  1. +5 −0 Gemfile
  2. +23 −0 Gemfile.lock
  3. +10 −0 README
  4. +0 −14 config.yml
View
@@ -0,0 +1,5 @@
+source :rubygems
+
+gem "sinatra"
+gem "koala"
+gem "shotgun"
View
@@ -0,0 +1,23 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ json (1.5.1)
+ koala (1.0.0)
+ json (~> 1.0)
+ multipart-post (~> 1.0)
+ multipart-post (1.1.2)
+ rack (1.3.0)
+ shotgun (0.9)
+ rack (>= 1.0)
+ sinatra (1.2.6)
+ rack (~> 1.1)
+ tilt (< 2.0, >= 1.2.2)
+ tilt (1.3.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ koala
+ shotgun
+ sinatra
View
@@ -2,6 +2,16 @@ This is just a simple example for connecting to facebook with OAUTH2.
With this you can do all the reading and writing stuff to facebook.
See the Koala Docs for more.
+*GETTING STARTED*
+
+*Clone the Code
+*Run bundle inside the folder
+*Change APP_ID, APP_CODE (get this from facebook by registering an app)
+*Change SITE_URL to an adress where your server will be reachable by facebook
+*Start your Server with shotgun
+
+*PROPS*
+
Made with the help of this two awesome gems:
Sinatra -> http://www.sinatrarb.com/
Koala -> http://github.com/arsduo/koala
View
@@ -1,14 +0,0 @@
-environment: development
-chdir: /var/www/simple-ruby-facebook-example
-address: 127.0.0.1
-user: www-data
-group: www-data
-port: 14000
-pid: /var/www/simple-ruby-facebook-example/thin.pid
-rackup: /var/www/simple-ruby-facebook-example/config.ru
-log: /var/www/simple-ruby-facebook-example/thin.log
-max_conns: 1024
-timeout: 30
-max_persistent_conns: 512
-daemonize: true
-

0 comments on commit d77996e

Please sign in to comment.