Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix facebooker:setup task

Signed-off-by: Chris Van Pelt <vanpelt@gmail.com>
  • Loading branch information...
commit 1bb04ffdb9f90720403ce39e9d86772d177a3425 1 parent 5555f1e
@pointcom pointcom authored committed
View
2  lib/merb_facebooker/merbtasks.rb
@@ -3,7 +3,7 @@
task :setup do
facebook_config = File.join(Merb.root,"config","facebooker.yml")
unless File.exist?(facebook_config)
- cp File.join(Merb.root,"facebooker.yml.tpl"), facebook_config
+ cp File.dirname(__FILE__) + '/../../templates/config/facebooker.yml', facebook_config
puts "Configuration created in #{Merb.root}/config/facebooker.yml"
else
puts "#{Merb.root}/config/facebooker.yml already exists"
View
41 templates/config/facebooker.yml
@@ -0,0 +1,41 @@
+# The api key, secret key, and canvas page name are required to get started
+# Tunnel configuration is only needed if you are going to use the facebooker:tunnel Rake tasks
+# Your callback url in Facebook should be set to http://public_host:public_port
+# To develop for the new profile design, add the following key..
+# api: new
+# remove the key or set it to anything else to use the old facebook design.
+# This should only be necessary until the final version of the new profile is released.
+
+development:
+ api_key:
+ secret_key:
+ canvas_page_name:
+ callback_url:
+ pretty_errors: true
+ tunnel:
+ public_host_username:
+ public_host:
+ public_port: 4007
+ local_port: 3000
+
+test:
+ api_key:
+ secret_key:
+ canvas_page_name:
+ callback_url:
+ tunnel:
+ public_host_username:
+ public_host:
+ public_port: 4007
+ local_port: 3000
+
+production:
+ api_key:
+ secret_key:
+ canvas_page_name:
+ callback_url:
+ tunnel:
+ public_host_username:
+ public_host:
+ public_port: 4007
+ local_port: 3000
Please sign in to comment.
Something went wrong with that request. Please try again.