@adobe/commerce-events-ext-tpl
Extensibility Template for Handling Commerce Events
Prerequisites
-
nodejs
(v14) andnpm
installed locally - https://nodejs.org/en/ -
aio
command line tool - https://github.com/adobe/aio-cli, https://developer.adobe.com/runtime/docs/guides/tools/cli_install/ - Project in Adobe developer console
- I/O Management API
Installation
npm install -g @adobe/aio-cli
Local Usage
-
git clone <template-url>
&npm install
-
aio app init <your-folder-name> --template <relative-path-to-template-folder-from-project-root>
ORaio app init <your-folder-name> --template <absolute-path-to-template-folder>
- Check your
app.config.yaml
file to see if the actions and event codes are set up correctly. -
aio app deploy
&aio app undeploy
will take care of the event registration/subscription ifaio-cli-plugin-extension
is installed.
Production Usage
aio app init <your-folder-name>
- Select the template named
@adobe/commerce-events-ext-tpl
Contributing
Contributions are welcomed! Read the Contributing Guide for more information.
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.