References extension
Wine industry references data manager for OpenWines., (*1)
Contains:, (*2)
- Varietals
- Regions
- Appelations
, (*3)
Akeneo PIM bundle based on Akeneo PIM 1.7 Community Edition, (*4)
Requirements
ReferencesBundle |
Akeneo PIM Community Edition |
dev-master |
v1.7.* |
Prerequisites
Download Akeneo PIM 1.7, (*5)
Edit app/config/parameters.yml
and use minimal
dataset:, (*6)
# /app/config/parameters.yml
parameters:
installer_data: PimInstallerBundle:minimal
Then install Akeneo PIM following
- system requirements
- step by step instructions, (*7)
Installation
Now that your Akeneo PIM instance is up and running,
install this bundle with composer (see requirements section):, (*8)
php composer.phar require openwines/references-bundle "dev-master"
Enable the bundle in the app/AppKernel.php
file in the existing registerBundles()
method:, (*9)
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 :, (*10)
pim_customentity:
prefix: /reference-data
resource: "@PimCustomEntityBundle/Resources/config/routing.yml"
Update your database schema:, (*11)
php app/console doctrine:schema:update -e=prod --force
Install fixtures:, (*12)
mysql -u root openwines < vendor/openwines/references-bundle/Resources/data/fixtures/openwines_ref_region.sql
TODO
See TODO.md, (*13)
Licence