README.md in solidus_recommendations-0.0.1 vs README.md in solidus_recommendations-0.0.2
- old
+ new
@@ -1,10 +1,15 @@
SolidusRecommendations
======================
Uses Elasticsearch on top of Solidus framework to retrieve relevant recommendations based on what users have purchased in the past.
+Requirements
+------------
+
+ * Elasticsearch must be installed and running. https://www.elastic.co/downloads/elasticsearch
+
Installation
------------
Add solidus_recommendations to your Gemfile:
@@ -15,9 +20,18 @@
Bundle your dependencies and run the installation generator:
```shell
bundle
bundle exec rails g solidus_recommendations:install
+```
+
+From the console:
+```ruby
+Spree.user_class.__elasticsearch__.create_index!
+Spree::Order.__elasticsearch__.create_index!
+
+Spree.user_class.import
+Spree::Order.import
```
Usage
-----