# RS-Recommenders
Interview project from Retention Science. The raw data has been provided by Retention Science.

## Setup
Run the bundle to install the gems from `Gemfile`:
```shell
bundle install
```

Load the ".csv" files to sqlite3 database run the following command
from the parent directory
```shell
sqlite3 rs-db < create-db.sql
```

## Run
Run main file
```shell
ruby src/main.rb use_id strategy
# where user_id and strategy are program arguments
```

Run spec files
```shell
rspec spec/
# checkout the report at `coverage/index.html`
```

# RS-Recommenders

[![Build Status](https://travis-ci.org/ardeshirj/rs-recommenders.svg?branch=master)](https://travis-ci.org/ardeshirj/rs-recommenders)

Interview project from Retention Science. The raw data has been provided by Retention Science.

## Setup
Run the bundle to install the gems from `Gemfile`:
```shell
bundle install
```

Load the ".csv" files to sqlite3 database run the following command
from the parent directory
```shell
sqlite3 rs-db < create-db.sql
```

## Run
Run main file
```shell
ruby src/main.rb use_id strategy
# where user_id and strategy are program arguments
```

Run spec files
```shell
rspec spec/
# checkout the report at `coverage/index.html`
```

Add travis badge to readme
Add travis badge to readme
