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/schof/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
Deploy spree as a normal rails application. If you use apache+cgi/fastcgi take a look at the example .htaccess located in
public/.htaccess.example
Basic localization and internationalization support is now added using the Globalite Plugin from Matt Aimonetti.
Working features:
- Rails Localization
- UI Localization
In the near future:
- Content Localization
Please read this, this and this to understand how the plugin works.
Please, please, please ask Sean how you can help, lot of work is still to be done.
UPDATE: Take a look at i18n page on Spree wiki