Difference between revisions of "Getting started with Spree"
From the Directed Edge Developer Base
Line 10: | Line 10: | ||
* You've got a Directed Edge account. [http://www.directededge.com/signup-ecommerce.html '''Sign up here!'''] | * You've got a Directed Edge account. [http://www.directededge.com/signup-ecommerce.html '''Sign up here!'''] | ||
+ | |||
+ | == Installing the plugin == | ||
+ | |||
+ | Go to your project's source directory and do the following: | ||
+ | |||
+ | * Install the Directed Edge gem: | ||
+ | |||
+ | {{Shell|sudo gem install directed-edge}} | ||
+ | |||
+ | * Install the <tt>acts_as_edgy</tt> Rails plugin: | ||
+ | |||
+ | {{Shell|./script/plugin install https://github.com/directededge/acts_as_edgy.git}} | ||
+ | |||
+ | * Install the <tt>acts_as_edgy_spree</tt> Spree extension: | ||
+ | |||
+ | {{Shell|./script/extension install https://github.com/directededge/acts_as_edgy_spree.git}} | ||
+ | |||
+ | * Configure the plugin with your Directed Edge account info (from your [http://www.directededge.com/signup-ecommerce.html sign-up]) | ||
+ | |||
+ | {{Shell|rake edgy:configure}} | ||
+ | |||
+ | * Do an initial export of your Shop's purchase data: | ||
+ | |||
+ | {{Shell|rake edgy:export}} |
Revision as of 07:41, 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
Go to your project's source directory and do the following:
- Install the Directed Edge gem:
$ sudo gem install directed-edge
- Install the acts_as_edgy Rails plugin:
$ ./script/plugin install https://github.com/directededge/acts_as_edgy.git
- Install the acts_as_edgy_spree Spree extension:
$ ./script/extension install https://github.com/directededge/acts_as_edgy_spree.git
- Configure the plugin with your Directed Edge account info (from your sign-up)
$ rake edgy:configure
- Do an initial export of your Shop's purchase data:
$ rake edgy:export