A mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example.
Built with Rails 4.2, PostgreSQL, Bootstrap and CSS/Sass. Tested using RSpec, Capybara (Poltergeist, PhantomJS).
- Clone or download this repository
git clone https://github.com/KateIsabelle/jungle-rails.git - Navigate to the project directory and install dependencies
cd jungle-rails bundle install - Create
config/database.ymlby copyingconfig/database.example.ymlcp config/database.example.yml config/database.yml - Create
config/secrets.ymlby copyingconfig/secrets.example.ymlcp config/secrets.example.yml config/secrets.yml - Create, load, and seed the database
bin/rake db:reset - Sign up for a Stripe account
- Create
.envand update with your own Stripe (test) keyscp .env.example .env - Launch the development web server
bin/rails s -b 0.0.0.0 - Visit http://localhost:3000/ on your browser


