Spree is a complete open source e-commerce solution for Ruby on Rails.
Ruby HTML PLpgSQL CSS CoffeeScript JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.buildkite
api
backend
config/docker/etc/apk/keys
core
frontend
scripts
shared
.dockerignore
.gitignore
Dockerfile
LICENSE.md
README.md

README.md

mrh/spree

Spree is a complete open source e-commerce solution built with Ruby on Rails. It was originally developed by Sean Schofield and is now maintained here.

Spree consists of several different gems, which are maintained in a single repository.

  • spree_api (RESTful API)
  • spree_frontend (User-facing components)
  • spree_backend (Admin area)
  • spree_core (Models & Mailers, the basic components of Spree that it can't run without)

Installation

Add the following to your Gemfile

group :spree, :default do
  gem 'spree', '= 2.4.11.beta', git: 'https://github.com/MountainRoseHerbs/spree.git', branch: 'master'
end
bundle install
bundle exec rails new my_store

Than follow the Rails Engines documentation on howto use the spree engine in your application.

Running Tests

Run the CI suite locally, assumes set-up postgresql.

./build-ci.rb

Dedicated tests for each subproject

cd subproject # example "core"
bundle install
bundle exec rake test_app
bundle exec rspec spec