Metadata-Version: 2.1
Name: interaktiv.recommendations
Version: 1.0.3
Summary: Interaktiv Recommendations product.
Home-page: https://code.interaktiv.de/interaktiv/interaktiv.recommendations
Author: Interaktiv
Author-email: support@interaktiv.de
License: BSD License (BSD)
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE.md

# interaktiv.recommendations

![Python Version](https://img.shields.io/badge/Python-~=3.8-blue "Plone Version")

Interaktiv Recommendations plone package.

## Table of contents

1. [Installation](#installation)
   1. [Add the recommendation package to the backend](#1-add-the-recommendations-package-to-the-backend)
   2. [Add the recommendation package to the frontend (Volto only)](#2-add-the-recommendations-package-to-the-frontend-volto-only)
   3. [Get packages](#3-get-packages)
2. [How to enable the recommendations](#how-to-enable-the-recommendations)
   1. [Enable recommendations behavior](#1-enable-recommendations-behavior)
   2. [Update recommendations index](#2-update-recommendations-index)
3. [Copyright and License](#copyright-and-license)


## Installation
### 1. Add the recommendations package to the backend
#### File: buildout.cfg
```
[sources]
...
interaktiv.recommendations = git git@github.com:interaktivgmbh/interaktiv.recommendations.git branch=main
```
```
eggs =
    ...
    interaktiv.recommendations
```


### 2. Add the recommendations package to the frontend (Volto only)
#### File: package.json
```json
  "dependencies": {
    "@interaktivgmbh/volto-recommendations": "*"
  }

  "addons": [
    "@interaktivgmbh/volto-recommendations"
  ]

### 3. Get packages
Backend/Plone Classic:
```shell
$ ./bin/buildout
```

Frontend/Volto:
```shell
$ yarn install
```



## Enable the recommendations
### 1. Enable recommendations behavior
Enable the recommendations behavior on a contenttype of your choice via controlpanel **/@@dexterity-types**.

### 2. Update recommendations index
#### Plone Classic:
Open **/@@recommendations_settings** and click on the **Refresh-Button**.

#### Volto:
Open **/controlpanel/recommendations** and click on the **Refresh-Button**.

## Copyright and License
Author: Interaktiv GmbH - https://interaktiv.de

Copyright (c) 2023, Interaktiv GmbH

See LICENSE.md for details.
