Spree is a complete open source commerce solution for Ruby on Rails. It was developed by Sean Schofield under the original name of Rails Cart before changing its name to Spree.
-
Clone the git repo
git clone git://github.com/railsdog/spree.git spree
-
Create the necessary config/database.yml file
-
Install the gem dependencies
rake gems:install
-
Bootstrap the database (run the migrations, create admin account, optionally load sample data.)
rake db:bootstrap
-
Start the server
script/server
-
Install spree Gem
sudo gem install spree
NOTE: This may take a while. The gem currently includes a frozen version of Rails 2.0.2
-
Create Spree Application
spree <app_name>
-
Create your database and edit the config/database.yml to taste.
rake db:create
You can skip this step if using sqlite3 as your database.
-
Bootstrap
cd <app-name> rake db:bootstrap
-
Launch Application
script/server
Refer to the Spree ecommerce project page to learn more about spree.