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
- Run the generator:
bundle exec rails generate comable:install
- Start up your application:
bundle exec rails server
Go to your browser and open http://localhost:3000
.
Access the admin panel
You will need to import the seed data if admin user does not exist.
bundle exec rake db:seed
Go to your browser and open http://localhost:3000/admin
.
Requirements
- Ruby on Rails 4.0, 4.1, 4.2
- Ruby 2.1, 2.2
Rails 3 is not supported.
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