Skip to content

Latest commit

 

History

History
103 lines (61 loc) · 2.23 KB

README.markdown

File metadata and controls

103 lines (61 loc) · 2.23 KB

SUMMARY

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.

QUICK START

Running from sources (latest and greatest features)

  1. Clone the git repo

     git clone git://github.com/schof/spree.git spree
    
  2. Create the necessary 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
    

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.

     rake db:create
    

    You can skip this step if using sqlite3 as your database.

  4. Bootstrap

     cd <app-name>
     rake db:bootstrap
    
  5. Launch Application

     script/server
    

Browse Store

http://localhost:xxxx/store

Browse Admin Interface

http://localhost:xxxx/admin

Deploying

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

i18n/l10n Support

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