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
LPKG
.- Enterprise subscribers can download the latest
LPKG
from 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
LPKG
may be obtained from the Liferay Commerce Community Download Page.
- Enterprise subscribers can download the latest
-
Deploy the
LPKG
to the${liferay.home}/deploy
folder.noteTo learn more about deploying applications to Liferay DXP, see Liferay Home.
-
(Subscribers) Deploy the activation key to the
${liferay.home}/deploy
folder. -
Verify the following message appears in the application server console:
2019-08-09 00:25:10.662 INFO [fileinstall-/../../liferay-dxp-7.1.10.1-sp1/osgi/marketplace][LPKGArtifactInstaller:202] The portal instance needs to be restarted to complete the installation of file:/../../liferay-dxp-7.1.10.1-sp1/osgi/marketplace/Liferay%20Commerce%20-%20API.lpkg 2019-08-09 00:25:10.664 INFO [fileinstall-/../..//liferay-dxp-7.1.10.1-sp1/osgi/marketplace][LPKGArtifactInstaller:202] The portal instance needs to be restarted to complete the installation of file:/../../liferay-dxp-7.1.10.1-sp1/osgi/marketplace/Liferay%20Commerce%20-%20Impl.lpkg
-
Shut down the application server completely.
-
Start the application server.
-
Verify that the
LPKG
has 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 Reindex next to 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.