Petr Mensik
Petr Mensik

Reputation: 27536

Simple steps to deploy and test portlet in Liferay

I would appreciate if someone could give few easy steps how to deploy and test portlet in Liferay portal. I tried to search of course but some of the tutorials doesn't apply to new versions, some were overcomplicated and some didn't work for me.

I have a one JSR-286 portlet which I want deploy (I have Tomcat bundle on 6.1 version), add it to same page and see if the portlet works. So if you can can give five steps or so how to do this I would be really grateful.

P.S. This seems to me like in the Boromir meme - one does not simply deploy portlet into Liferay:-)

Upvotes: 1

Views: 1069

Answers (2)

mistahenry
mistahenry

Reputation: 8744

1.)Run the ant deploy script

2).Log in to the portal with your default administrator credentials

3). On any page, click Add in the Dockbar and select More

4). By default, the portlet you just created would be under the Sample category. Click the Add button next to whatever portlet you just deployed

Good luck let me know if you have any questions

Upvotes: 1

Raghavenda Bhat
Raghavenda Bhat

Reputation: 155

The best way to deploy portlets in liferay is hot deployment.

Check this link.. Surely it will work

http://docs.liferay.com/portal/4.2/official/liferay-portlet-development-guide-4.2/multipage/ch04.html

Upvotes: 1

Related Questions