This tutorial will show you how to add ... by implementing the Foo
interface.
Liferay Commerce provides ...
(Establishing Image Placeholder)
In this section, we will get an example ... up and running on your instance of Liferay Commerce. Follow these steps:
-
Start Liferay Commerce.
docker run -it -p 8080:8080 liferay/commerce:2.0.4
-
Download and unzip Acme Commerce ....
curl liferay-xxxx.zip
unzip liferay-xxxx.zip
-
Go to
liferay-xxxx
.cd liferay-xxxx
-
Build and deploy the example.
./gradlew deploy -Ddeploy.docker.container.id=$(docker ps -lq)
Note: This command is the same as copying the deployed jars to /opt/liferay/osgi/modules on the Docker container.
-
Confirm the deployment in the Liferay Docker container console.
STARTED com.acme.xxxx.impl_1.0.0
-
Verify that the example ... was added. Open your browser to
https://localhost:8080
and navigate to ...
(Deployed Sample Image Placeholder)
Congratulations, you've successfully built and deployed a new ... that implements Foo
.
Next, let's dive deeper to learn more.
In this section, we will review the example we deployed. First, we will annotate the class for OSGi registration. Second, we will review the Foo
interface. And third, we will complete our implementation of Foo
.
Implement the following methods:
...
The ... is comprised of .... Do the following:
...
Congratulations! You now know the basics for implementing the Foo
interface, and have added a new ... to Liferay Commerce.