Skip to content

Instantly share code, notes, and snippets.

@sanchojaf
Last active July 20, 2017 13:27
Show Gist options
  • Save sanchojaf/1b6b51cc6932fdcf9f6eb1f8f104d31f to your computer and use it in GitHub Desktop.
Save sanchojaf/1b6b51cc6932fdcf9f6eb1f8f104d31f to your computer and use it in GitHub Desktop.
rails-stripe-membership-saas

ensure that you have rails 4.2 like envioroment

git clone git://github.com/RailsApps/rails-stripe-membership-saas.git

cd rails-stripe-membership-saas

bundle

rake db:migrate

open Gemfile and add gem 'figaro'

bundle

rake db:migrate

vim config/application.yml

add

STRIPE_API_KEY:  kkkkkkkkkkkkkkkkk
STRIPE_PUBLISHABLE_KEY: ffffffffffffffff

rake db:seed

rails s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment