openwines / references-bundle
Wine industry references data manager for OpenWines - Akeneo PIM Bundle
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 0
Open Issues: 2
Type:symfony-bundle
Requires
- akeneo-labs/custom-entity-bundle: 1.10.*
- akeneo/pim-community-dev: v1.7.*
Requires (Dev)
- friendsofphp/php-cs-fixer: @stable
This package is not auto-updated.
Last update: 2024-12-18 00:54:19 UTC
README
Wine industry references data manager for OpenWines.
Contains:
- Varietals
- Regions
- Appelations
Akeneo PIM bundle based on Akeneo PIM 1.7 Community Edition
Requirements
Prerequisites
Download Akeneo PIM 1.7
Edit app/config/parameters.yml
and use minimal
dataset:
# /app/config/parameters.yml parameters: 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:
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 < vendor/openwines/references-bundle/Resources/data/fixtures/openwines_ref_region.sql
TODO
See TODO.md
Licence
- OSL-V3.0