承接 incomaker/magento2 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

incomaker/magento2

Composer 安装命令:

composer require incomaker/magento2

包简介

Marketing automation with artificial intelligence

README 文档

README

Incomaker Customers

This module for Magento2 integrates Incomaker's XML feeds and tracking API into your e-shop.

Installation

Go to the directory where your Magento is installed and run following:

composer require incomaker/magento2
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
bin/magento cache:flush

Now open web browser, go to admin area of your e-shop, select Stores / Configuration, change scope to Main Website and finish module settings under section Incomaker.

Read more about plugin installation in the Installation Instructions

When module is successfully installed and configured, you will be able to access XML feeds:

https://<your-domain>/incomaker/data/feed?key=<your-api-key>&type=product

Module Developers

NOTE: Information below is intended for developers of this Magento module.

Online sources about Magento2 module development:

Update Dependencies Locally

This will create vendor folder with all dependencies which is useful for code inspection inside IDE.

bin/composer-install

Set Up MGT - Development Environment

Read about MGT-DEV: https://www.mgt-commerce.com/magento-2-local-development-environment

Access Keys

You will need access keys from Adobe: https://commercemarketplace.adobe.com/customer/accessKeys/. Use account registered for salamon@incomaker.com. Use the Public key as your username and the Private key as your password.

Create auth.json file:

cp auth.json.example auth.json

and paste Adobe keys into it.

Start MGT Environment

Run:

bin/mgt-dev

then go to UI: https://localhost:8443/

  • add domain (e.g. incomaker.mgt, Work dir: incomaker.mgt/pub - must end with pub)
  • edit hosts file and add the same domain
  • add database (e.g. incomaker, set password to dbpass in order to make convenience scripts work)
  • add cron (e.g. cd /home/cloudpanel/htdocs/incomaker.mgt && bin/magento cron:run)

Now use convenience script to create Magento project

bin/mgt-install <instance_name, e.g. incomaker>

or do it the hard way:

SSH Into the MGT Environment

All further commands must be issued via SSH:

ssh root@127.0.0.1

Install Magento

Create new project:

cd /home/cloudpanel/htdocs/
rm incomaker.mgt -rf
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition incomaker.mgt

Install Magento:

cd incomaker.mgt
bin/magento setup:install \
    --backend-frontname='admin' --key='18Av6ITivOZG3gwY1DhMDWtlLfx1spLP' \
    --session-save='files' --db-host='127.0.0.1' --db-name='incomaker' \
    --db-user='incomaker' --db-password='incomaker' \
    --base-url='http://incomaker.mgt/' --base-url-secure='https://incomaker.mgt/' \
    --admin-user='admin' --admin-password='!admin123!' \
    --admin-email='john@doe.com' --admin-firstname='John' --admin-lastname='Doe'
chmod -R 777 /home/cloudpanel/htdocs/incomaker.mgt

Disable Two-Factor:

bin/magento module:disable Magento_AdminAdobeImsTwoFactorAuth Magento_TwoFactorAuth

Install Incomaker Module:

composer require incomaker/magento2
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
bin/magento cache:flush
chmod -R 777 /home/cloudpanel/htdocs/incomaker.mgt

Activate Developer Mode:

bin/magento deploy:mode:set developer

Convenience script (does all of the above):

bin/mgt-install <domain-name> <optional:magento-version> <optional:php-version>

Example:

 bin/mgt-install test7 2.4.3-p3 7.4

Sync Files

You will have to configure file sync in your IDE between root folder of the project and root:root@127.0.0.1:/home/cloudpanel/htdocs/incomaker.mgt/vendor/incomaker/magento2

After files are updated, you have to rebuild Magento DI:

bin/magento setup:di:compile
bin/magento cache:clean
bin/magento cache:flush
chmod -R 777 /home/cloudpanel/htdocs/incomaker.mgt

or simply bin/mgt-update from host or mgt-update from inside the container.

View Logs

watch tail var/log/debug.log

Use Different version of PHP and/or Magento

to use different PHP version:

bin/mgt-ssh
alias php="/usr/bin/php7.4"

Troubleshooting

403 Forbidden

This may be caused by not ending web working dir with /pub.

Build and Deploy

Deploy to Packagist

  • create and checkout new branch (e.g. v1.1)
  • increase version number inside composer.json (e.g. 1.1.4)
  • commit
  • create new version tag (e.g. 1.1.4)
  • push to GitHub

Package as ZIP

bin/module-package

incomaker/magento2 适用场景与选型建议

incomaker/magento2 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 137 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 03 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 incomaker/magento2 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 incomaker/magento2 我们能提供哪些服务?
定制开发 / 二次开发

基于 incomaker/magento2 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 137
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 21
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-03-28