openstax / sfapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Style Guide Tests Coverage Status

AWS Build

SFAPI

The OpenStax Salesforce API - for easier access to Salesforce Org data.

Getting Started

Use the following checklist to get up and running with SFAPI for local development quickly!

  • Install PostgreSQL and Ruby (>3.0). It's recommended to use rbenv to manage your Ruby versions.
  • Run the following where you'd like to install SFPI
$> git checkout https://github.com/openstax/sfapi.git
$> gem install bundler
$> bundle install
$> createdb sfapi_dev
$> createdb sfapi_test
$> bundle exec rake db:migrate
  • Copy the .env.example file to .env and fill in the secrets needed.

Running tests

You can run the tests with $> bundle exec rspec

Project Documentation

Documentation is in the repo wiki

Deployment

To deploy SFAPI, you will need to use the BIT Deployment Repo. You can find detailed deployment instructions in this wiki entry

About

License:GNU Affero General Public License v3.0


Languages

Language:Ruby 100.0%