oniti/akeneo-docga-connector
Composer 安装命令:
composer require oniti/akeneo-docga-connector
包简介
Extention Docga pour Akeneo
README 文档
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
统计信息
- 总下载量: 264
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-09
