Comable

Build Status Code Climate Coverage Status Dependency Status

Comable provides a simple way to add e-commerce features to your Ruby on Rails application.

Installation

  1. Add comable in the Gemfile:
  gem 'comable'
  1. Download and install by running:
  bundle install
  1. Get gem migrations:
  bundle exec rake comable:install:migrations
  1. Add routes in the config/routes.rb
  Rails.application.routes.draw do
    mount Comable::Core::Engine => '/comable'
  end

Requirements

  • Ruby on Rails 3.2, 4.1
  • Ruby 2.1

And strong_parameters, everywhere gems are required only for Rails 3.

Development

To set up a development environment, simply do:

bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake  # run the test suite