oniti / akeneo-docga-connector
Extention Docga pour Akeneo
Installs: 264
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- akeneo/pim-community-dev: >=3.0.0
README
Provides new attributes types for Akeneo PIM CE and EE:
- docga: this attribute type can store an ordered collection of strings or URLs.
Installation
composer require oniti/akeneo-docga-connector
Add the following bundle in your app/AppKernel.php
file:
$bundles = [ new Oniti\Docga\ConnectorBundle\DocgaExtendedAttributeTypeBundle(), ];
Add the following route in your app/config/routing.yml
file:
# Docga
oniti_docga_get_config:
resource: "@DocgaExtendedAttributeTypeBundle/Resources/config/routing.yml"
Add the following parameters in your app/config/parameters.yml
file:
docga_url: https://docga-url.com/
docga_api_key: your-api-key
docga_api_secret: your-api-secret
You will also have to register the new Elasticsearch configuration files; in app/config/pim_parameters.yml
, edit the
elasticsearch_index_configuration_files
parameter and add the following values:
elasticsearch_index_configuration_files: - '%kernel.root_dir%/../vendor/oniti/akeneo-docga-connector/src/Resources/config/elasticsearch/index_configuration.yml'
For the Enterprise edition, there are two other files to register:
elasticsearch_index_configuration_files_product_proposal: - '%kernel.root_dir%/../vendor/oniti/akeneo-docga-connector/src/Resources/config/elasticsearch/index_configuration_ee_product_proposal.yml' elasticsearch_index_configuration_files_published_product: - '%kernel.root_dir%/../vendor/oniti/akeneo-docga-connector/src/Resources/config/elasticsearch/index_configuration_ee_published_product.yml'
If this is a fresh install, you can then proceed with a standard installation.
From an existing PIM, on the other hand, you will have to re-create your elasticsearch indexes:
php bin/console cache:clear --no-warmup --env=prod
php bin/console akeneo:elasticsearch:reset-indexes --env=prod
php bin/console pim:product-model:index --all --env=prod
php bin/console pim:product:index --all --env=prod
Contributing
If you want to contribute to this open-source project, thank you to read and sign the following contributor agreement