public
Description: Spree is a complete open source e-commerce solution for Ruby on Rails.
Home | Edit | New

Installation

Requirements

Spree requires Rails 2.1. If you are deploying to a shared hosting environment you can always freeze Rails 2.1 into vendor/rails of your Spree application.

Spree also has several gem dependencies. If you have installed the Spree gem you should have these dependencies installed automatically. When running Spree from the source you can use the new Rails 2.1 rake task for listing gem dependencies

rake gems

You can automatically install any missing dependencies, again using the Rails 2.1 rake task for this purpose.

rake gems:install

ImageMagick must be installed in order to add images for your inventory. MiniMagick is a Ruby wrapper that gives you access to all the command line options ImageMagick has to offer.

Quickstart Guide (Running the Source)

1.) Clone the git repo

git clone git://github.com/railsdog/spree.git

2.) Create a config/database.yml file

3.) Install the gem dependencies

rake gems:install

4.) Bootstrap the database (run the migrations, create admin account, optionally load sample data.)

rake db:bootstrap

5.) Start the server

script/server

Quickstart Guide (Running the Gem)

1.) 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

2.) Create Spree Application

$ spree <app_name>

3.) Create your database and edit the config/database.yml to taste. You can skip this step if using sqlite3 as your database.

4.) Bootstrap

$ cd <app-name>
$ rake db:bootstrap

5.) Launch Application

http://localhost:xxxx
http://localhost:xxxx/admin
Last edited by octopusinc, Thu Jul 02 08:07:11 -0700 2009
Home | Edit | New
Versions: