<commit_before>SpreeProductLike
================
[![Build Status](https://travis-ci.org/netguru/spree_product_like.png)](https://travis-ci.org/netguru/spree_product_like)
[![Coverage Status](https://coveralls.io/repos/netguru/spree_product_like/badge.png?branch=master)](https://coveralls.io/r/netguru/spree_product_like?branch=master)
[![Code Climate](https://codeclimate.com/github/netguru/spree_product_like.png)](https://codeclimate.com/github/netguru/spree_product_like)

This extensions adds a like/fav button for products.

How it works?
-------------

As a logged in user:

  - i can go to product page and like the product 
  - see if I liked the product already
  - go to my 'favourites' products tab 

As a logged in admin i can: 

  - see list of products ordered by likes count 

Demo
----

If you want to see how it works, visit [our demo shop](https://spree-product-like.herokuapp.com).

You can login as a customre using those credentials `<EMAIL>` / `customer`
You can login as an admin using those credentials `<EMAIL>` / `salesman`

Installation
------------

Add spree_product_like to your Gemfile:

```ruby
gem 'spree_product_like', git: 'https://github.com/netguru/spree_product_like.git', branch: '2-1-stable'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_product_like:install
```<commit_msg>small readme adjustments [#65890052]<commit_after>SpreeProductLike
================
[![Build Status](https://travis-ci.org/netguru/spree_product_like.png)](https://travis-ci.org/netguru/spree_product_like)
[![Coverage Status](https://coveralls.io/repos/netguru/spree_product_like/badge.png?branch=master)](https://coveralls.io/r/netguru/spree_product_like?branch=master)
[![Code Climate](https://codeclimate.com/github/netguru/spree_product_like.png)](https://codeclimate.com/github/netguru/spree_product_like)

This extensions adds a like/fav button for products.

How it works?
-------------

As a logged in user:

  - i can go to product page and like the product 
  - see if I liked the product already
  - go to my 'favourites' products tab 

As a logged in admin i can: 

  - see list of products ordered by likes count 

Demo
----

If you want to see how it works, visit [our demo shop](https://spree-product-like.herokuapp.com).

You can login as a customre using those credentials `<EMAIL>` / `customer`

You can login as an admin using those credentials `<EMAIL>` / `salesman`

Installation
------------

Add spree_product_like to your Gemfile:

```ruby
gem 'spree_product_like', git: 'https://github.com/netguru/spree_product_like.git', branch: '2-1-stable'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_product_like:install
```
{'fraction_non_alphanumeric': 0.14280575539568346, 'fraction_numerical': 0.004316546762589928, 'mean_word_length': 4.442270058708415, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6996008', 'n_tokens_mistral': 934, 'n_tokens_neox': 883, 'n_words': 251}