Comable provides a simple way to add e-commerce features to your Ruby on Rails application.
- Add comable and a source in the
Gemfile
:
source 'https://rails-assets.org'
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
- Ruby on Rails 3.2, 4.1
- Ruby 2.1
And strong_parameters
, everywhere
gems are required only for Rails 3.
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