/jungle-rails

An e-commerce Rails app built for learning Rails through example

Primary LanguageRuby

Jungle

A mini e-commerce application built with Rails 4.2 for purposes of learning Rails by example.

Setup

  1. create .env file

STRIPE_PUBLISHABLE_KEY= PLACE KEY HERE

STRIPE_SECRET_KEY= PLACE KEY HERE

ADMIN_USERNAME= PLACE USERNAME HERE

ADMIN_PASSWORD= PLACE PASSWORD HERE

SECRET_TOKEN_KEY_BASE= PLACE SECRET HERE

Stripe Testing

  • Use Credit Card # 4111 1111 1111 1111 for testing success scenarios.
  • your expiry date can be anything in the future
  • 3 digit code can be anything

More information in their docs: https://stripe.com/docs/testing#cards

start rails server

bin/rails server

when using vagrant

bin/rails s -b 0.0.0.0

port:

localhost:3000