Deploying Liferay Commerce to an Existing Liferay Installation¶
This article documents how to deploy Liferay Commerce to an existing Liferay DXP instance. Because Liferay Commerce is built on Liferay DXP, it is necessary to have an existing DXP 7.1 or 7.2 instance running. Prior to following this guide, please review System Requirements.
To begin using Liferay Commerce:
Download the latest Liferay Commerce
Enterprise subscribers can download the latest
LPKGfrom Help Center.
Subscribers also need an order number or activation key for Liferay Commerce. See Activating a Marketplace App Through a Proxy Server.
The latest open source
LPKGmay be obtained from the Liferay Commerce Community Download Page.
To learn more about deploying applications to Liferay DXP, see Liferay Home.
(Subscribers) Deploy the activation key to the
Verify the following message appears in the application server console:
2019-08-09 00:25:10.662 INFO [fileinstall-/../../liferay-dxp-18.104.22.168-sp1/osgi/marketplace][LPKGArtifactInstaller:202] The portal instance needs to be restarted to complete the installation of file:/../../liferay-dxp-22.214.171.124-sp1/osgi/marketplace/Liferay%20Commerce%20-%20API.lpkg 2019-08-09 00:25:10.664 INFO [fileinstall-/../..//liferay-dxp-126.96.36.199-sp1/osgi/marketplace][LPKGArtifactInstaller:202] The portal instance needs to be restarted to complete the installation of file:/../../liferay-dxp-188.8.131.52-sp1/osgi/marketplace/Liferay%20Commerce%20-%20Impl.lpkg
Shut down the application server completely.
Start the application server.
Verify that the
LPKGhas begun installation by looking for this message:
2019-08-09 00:32:48.850 INFO [main][BaseDeployer:877] Deploying minium-theme.war
On the first deployment, there are a series of commands followed by this message:
2019-08-09 00:34:51.753 INFO [main][ThemeHotDeployListener:108] 1 theme for minium-theme is available for use
On first startup, execute a reindex to populate the Liferay Commerce default content; navigate to the Control Panel → Configuration → Search.
Click Execute next to Reindex all search indexes.
Liferay Commerce has been deployed and is ready for use. Store administrators can begin building a storefront and populating their catalog.
Note that if the application server is restarted, Liferay Commerce will not execute the
VerifyProcess commands a second time.