Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vasinov committed Dec 13, 2012
1 parent 7d76c24 commit fe59f47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ And run `bundle install`.
## How to Use?
I am planning to add more examples covering Jruby Mahout use cases to [this repo](https://github.com/vasinov/jruby_mahout-examples) soon.

First off, define `MAHOUT_DIR` environmental variable for Mahout. For example:

```
export MAHOUT_DIR=/bin/mahout
```

The easiest way to start working with Jruby Mahout recommendations is to initialize a recommender:
```ruby
require 'jruby_mahout'
Expand Down Expand Up @@ -67,4 +73,4 @@ Jruby Mahout is thoroughly tested with Rspec.
- Write code for a feature or bug fix.
- Add Rspec tests for it.
- Commit, do not make changes to rakefile or version.
- Submit a pull request.
- Submit a pull request.

0 comments on commit fe59f47

Please sign in to comment.