Home > RailsForce_AppTemplate

RailsForce_AppTemplate

RailsForce_AppTemplate is a project mainly written in RUBY and JAVASCRIPT, it's free.

Template of a Rails App that interacts with the Force.com platform

RailsForce - App Template

About

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

  • Implemented using:

  • Bootstrap

  • jQuery

  • Databasedotcom Gem

  • Cells

Getting Started

Download

  1. git clone [email protected]: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

Previous:bookstore