Comable
Comable provides a simple way to add e-commerce features to your Ruby on Rails application.
Installation
- Add comable in the
Gemfile
:
gem 'comable'
- Download and install by running:
bundle install
- Get gem migrations:
bundle exec rake comable:install:migrations
- 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