Installing EP Commerce for Adobe Marketing Cloud
In this document
Installing EP Commerce for Adobe Marketing Cloud
This section describes how to build EP Commerce for Adobe Marketing Cloud and install it on Adobe Experience Manager.
Deploy Packages using Maven
To deploy the built packages to AEM:
- Navigate to the ep-aem-commerce directory and run:
- mvn clean install -Pdeploy-author
To deploy the built geometrixx-demo package to AEM:
- Navigate to the geometrixx-demo directory and run:
- mvn clean install -Pdeploy-author
You can set the following maven properties during deploy:
For example, to set the author user name and
password:
Property | Description |
---|---|
aem.author.user | The user name used to log in to the AEM instance. |
aem.author.password | The password used to log in to the AEM instance. |
aem.author.host | The host of the server to deploy to. |
aem.author.port | The port of the server to deploy to. |
- mvn clean install -Pdeploy-author -Daem.author.user=admin -Daem.author.password=password
Deploy Packages with the Package Manager
Alternately, you can deploy EP Commerce for Adobe Marketing Cloud using
the CRX Package Manager GUI:
- In AEM, open the Package Manager at http://localhost:4502/crx/packmgr/index.jsp
- Install the ep-commerce-api-{version}.zip file, which is located in the ep-aem-commerce/deployment-package/target directory.
- If you wish to use the Geometrixx demo, also install the ep-geometrixx-content-{version}.zip file located in the geometrixx-demo/deployment-package/target directory.
Configure Packages
The following configuration steps are required after EP Commerce for Adobe Marketing Cloud packages are installed.
- Open the OSGi Configuration Manager at http://localhost:4502/system/console/configMgr.
- Add a service mapping for EP authentication:
- Select "Apache Sling Service User Mapper Service" and click edit
- Click "+" under "Service Mappings"
- Paste com.elasticpath.aem.commerce.aem-authentication:epAemUser=oauthservice
- Save the changes
- Whitelist the EP authentication bundle:
- Select "Apache Sling Login Admin Whitelist" and click edit
- Paste com.elasticpath.aem.commerce.aem-authentication into the "Whitelist bundles additional" edit box.
- Save the changes
Connect to Cortex
Once EP Commerce for Adobe Marketing Cloud successfully deploys, do the
following:
- Start up Cortex following these instructions.
- Open the Geometrixx demo at http://localhost:4502/content/geometrixx-outdoors/en_US.html.