Difference between revisions of "Getting started with Spree"
From the Directed Edge Developer Base
Line 15: | Line 15: | ||
There are a few bits and pieces that cover different layers that have to be installed to get things going in Spree, each a little more specific. There's a Ruby-specific gem, a Rails-specific plugin and finally a Spree-specific extension. | There are a few bits and pieces that cover different layers that have to be installed to get things going in Spree, each a little more specific. There's a Ruby-specific gem, a Rails-specific plugin and finally a Spree-specific extension. | ||
− | Go to your shop's root directory and run the following commands | + | Go to your shop's root directory and run the following commands, and you'll want your Directed Edge [http://www.directededge.com/signup-ecommerce.html account info] handy. |
− | |||
− | |||
{{Shell|sudo gem install directed-edge}} | {{Shell|sudo gem install directed-edge}} | ||
− | |||
− | |||
− | |||
{{Shell|./script/plugin install {{URL|github.com/directededge/acts_as_edgy.git}}}} | {{Shell|./script/plugin install {{URL|github.com/directededge/acts_as_edgy.git}}}} | ||
− | |||
− | |||
− | |||
{{Shell|./script/extension install {{URL|github.com/directededge/acts_as_edgy_spree.git}}}} | {{Shell|./script/extension install {{URL|github.com/directededge/acts_as_edgy_spree.git}}}} | ||
− | |||
− | |||
− | |||
{{Shell|rake edgy:configure}} | {{Shell|rake edgy:configure}} | ||
+ | {{Shell|rake edgy:export}} | ||
− | + | Now your initial data export to Directed Edge is complete! | |
− | |||
− | |||
== Displaying recommendations == | == Displaying recommendations == |
Revision as of 08:10, 28 November 2010
It's really easy to get up and going with Directed Edge's recommendations and Spree. We've got a plugin that does almost all of the work for you.
Prerequisites
- You're using Spree version 0.11 or lower. We don't yet support Spree 0.3, but let us know if you've already made the jump to 0.3 and we'll let you know as soon as it's ready!
- You know a teensy bit about customizing the templates for your shop.
- You've got a Directed Edge account. Sign up here!
Installing the plugin
There are a few bits and pieces that cover different layers that have to be installed to get things going in Spree, each a little more specific. There's a Ruby-specific gem, a Rails-specific plugin and finally a Spree-specific extension.
Go to your shop's root directory and run the following commands, and you'll want your Directed Edge account info handy.
$ sudo gem install directed-edge
$ ./script/plugin install https://github.com/directededge/acts_as_edgy.git
$ ./script/extension install https://github.com/directededge/acts_as_edgy_spree.git
$ rake edgy:configure
$ rake edgy:export
Now your initial data export to Directed Edge is complete!