PHPackages                             openwines/references-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. openwines/references-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

openwines/references-bundle
===========================

Wine industry references data manager for OpenWines - Akeneo PIM Bundle

1.0.0(9y ago)210[2 issues](https://github.com/OpenWines/ReferencesBundle/issues)OSL-3.0PHP

Since Apr 27Pushed 9y ago6 watchersCompare

[ Source](https://github.com/OpenWines/ReferencesBundle)[ Packagist](https://packagist.org/packages/openwines/references-bundle)[ Docs](http://openwines.eu)[ RSS](/packages/openwines-references-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (2)Used By (0)

References extension
====================

[](#references-extension)

Wine industry references data manager for [OpenWines](http://openwines.eu).

Contains:

- Varietals
- Regions
- Appelations

[![OpenWines references data](ScreenShot1.png)](ScreenShot1.png)

Akeneo PIM bundle based on [Akeneo PIM 1.7 Community Edition](https://www.akeneo.com/download)

Requirements
------------

[](#requirements)

ReferencesBundleAkeneo PIM Community Editiondev-masterv1.7.\*Prerequisites
-------------

[](#prerequisites)

Download [Akeneo PIM 1.7](https://www.akeneo.com/download/)

Edit `app/config/parameters.yml` and use `minimal` dataset:

```
# /app/config/parameters.yml
parameters:
    installer_data: PimInstallerBundle:minimal
```

Then install Akeneo PIM following

- [system requirements](https://docs.akeneo.com/1.7/developer_guide/installation/system_requirements/system_install_debian8.html)
- [step by step instructions](https://docs.akeneo.com/latest/developer_guide/installation/installation_ce_archive.html)

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

[](#installation)

Now that your Akeneo PIM instance is up and running, install this bundle with composer (see requirements section):

```
php composer.phar require openwines/references-bundle "dev-master"
```

Enable the bundle in the `app/AppKernel.php` file in the existing `registerBundles()` method:

```
protected function registerProjectBundles()
{
    return [
        // your app bundles should be registered here
        new Pim\Bundle\CustomEntityBundle\PimCustomEntityBundle(),
        new OpenWines\ReferencesBundle\OpenWinesReferencesBundle(),
    ];
```

Add the following lines **at the end** of your app/config/routing.yml :

```
    pim_customentity:
        prefix: /reference-data
        resource: "@PimCustomEntityBundle/Resources/config/routing.yml"
```

Update your database schema:

```
php app/console doctrine:schema:update -e=prod --force
```

Install fixtures:

```
mysql -u root  openwines
