Saturday, July 7, 2012

Getting started Spree

Full documentation can be found here:

This is an approximate way of spree installation.
Why 'approximate' - because docs may differ, and if installing with rails '3.2.3' causes no troubles, '3.2.6' version pulls with itself, in my case, an outdated versions of spree_core, _api and so on.

1. Create rails application

rails new app
cd app
bundle install
2. In gemfile add gem 'spree', '1.1.1'
bundle install
This will add spree to the gemfile snapshot.
In case of errors try fiddling with 
rails version   '3.2.3', '3.2.6' and 
spree versions: '1.1.1', '1.1.2' (actual for the current moment)

3. This will create spree application.
rails g spree:install
4. Run
rake db:bootstrap
5. [optional] This will setup default scheme for the application.
gem 'spree_blue_theme', :git => 'git://'
If you want to use edge version, modify gemfile:
gem 'spree', :git => 'git://'

0 коммент.:

Post a Comment

Powered by Blogger.