Skip to content

Repository files navigation

References extension

Wine industry references data manager for OpenWines.

Contains:

  • Varietals
  • Regions
  • Appelations

OpenWines references data

Akeneo PIM bundle based on Akeneo PIM 1.7 Community Edition

Requirements

ReferencesBundleAkeneo PIM Community Edition
dev-masterv1.7.*

Prerequisites

Download Akeneo PIM 1.7

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

# /app/config/parameters.ymlparameters:
installer_data: PimInstallerBundle:minimal

Then install Akeneo PIM following

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:

protectedfunction registerProjectBundles()
{
return [
// your app bundles should be registered herenewPim\Bundle\CustomEntityBundle\PimCustomEntityBundle(),
newOpenWines\ReferencesBundle\OpenWinesReferencesBundle(),
];

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

pim_customentity:
prefix: /reference-dataresource: "@PimCustomEntityBundle/Resources/config/routing.yml"

Update your database schema:

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

Install fixtures:

mysql -u root openwines < vendor/openwines/references-bundle/Resources/data/fixtures/openwines_ref_region.sql

TODO

See TODO.md

Licence

  • OSL-V3.0

About

References Data Bundle for OpenWines' Product Information Manager

Resources

Stars

2 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages