Survey_Client

Created: 2012-03-23 19:08
Updated: 2014-01-05 11:59

README.markdown

RailsForce - App Template

About

This is an App template for a Rails application that interacts with the Force.com platform.

Getting Started

Download

  1. git clone git@github.com:jonathansnd/RailsForce_AppTemplate.git
  2. cd RailsForce_AppTemplate
  3. rails s
  4. Go to https://localhost:3000 and login to your salesforce org
  5. You will need to generate your own keys and drop them in the lib/certs dir. Check out the README in that dir for more info

Configuration from the environment

There are some environment variables under "/config/environments/" where you can define settings for :

  • API Version
  • Login URL
  • Consumer Keys

Working with a sandbox environment

If you're testing against a sandbox you must change the sfdc_login environment variable to https://test.salesforce.com

Configuration of OAuth parameters

You can find all of the Omniauth related parameters in lib/forcedotcom

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more