eikona-media / akeneo6-0-tessa-connector
连接TESSA和Akeneo的扩展
1.4.2
2023-05-26 12:59 UTC
Requires
- php: >=8.0
- ext-curl: *
- ext-json: *
- akeneo/pim-community-dev: ~6.0.0
README
Akeneo 6.0的TESSA连接器
使用此连接器包,您可以无缝地将Akeneo与数字资产管理解决方案“TESSA” (https://www.tessa-dam.com) 连接起来。这为您提供了为Akeneo提供专业且完全集成的DAM解决方案,以集中存储、管理和使用所有产品(例如图像、视频、文档等)的所有附加文件。
更多详细信息请访问我们的网站。
要求
重要!请确保您的Akeneo API正在运行。TESSA需要与您的Akeneo建立API连接。在某些情况下,Apache配置错误,请参阅https://api.akeneo.com/documentation/troubleshooting.html#apache-strip-the-authentication-header。
安装
- 使用composer安装此包
composer require eikona-media/akeneo6-0-tessa-connector
- 然后,在config/routes/routes.yml文件的末尾添加以下行
tessa_media: resource: "@EikonaTessaConnectorBundle/Resources/config/routing.yml"
- 在config/bundles.php文件中启用此包
return [ // ... Eikona\Tessa\ConnectorBundle\EikonaTessaConnectorBundle::class => ['all' => true], ];
- 仅限EE:在config/bundles.php文件中启用企业包
return [ // ... Eikona\Tessa\EEConnectorBundle\EikonaTessaEEConnectorBundle::class => ['all' => true], ];
- 在项目根目录中运行以下命令
php bin/console cache:clear --env=prod --no-warmup php bin/console cache:warmup --env=prod php bin/console pim:installer:dump-require-paths --env=prod php bin/console pim:installer:assets --env=prod yarn run webpack yarn run less yarn run update-extensions
- 更新您的数据库模式
php bin/console doctrine:schema:update --dump-sql # Show changes php bin/console doctrine:schema:update --force # Update database schema
-
在您的Akeneo系统设置中配置TESSA连接器。
-
(可选)创建一个cronjob在后台与TESSA同步数据
仅当您在系统设置中使用“后台同步”选项时才需要此操作
php bin/console eikona_media:tessa:notification_queue:execute --env=prod
建议每5分钟运行一次(*/5 * * * *
)。如果同时启动两次命令,则第二次命令会发出警告。
如何与引用实体一起使用
- 在config/routes/routes.yml文件的末尾添加以下行
tessa_api_reference_data: resource: "@EikonaTessaReferenceDataAttributeBundle/Resources/config/routing.yml"
- 在config/bundles.php文件中启用ReferenceDataAttributeBundle
return [ // ... Eikona\Tessa\ConnectorBundle\EikonaTessaConnectorBundle::class => ['all' => true], // Already registered Eikona\Tessa\ReferenceDataAttributeBundle\EikonaTessaReferenceDataAttributeBundle::class => ['all' => true], // New ];
- 在添加新的引用实体属性时,在类型下拉列表中选择TESSA