Tuesday, October 29, 2019

Liferay Portal in Developer Mode in Ubuntu

Hi,

In this post, we shall see how to have liferay portal to run in developer mode. This mode of the portal becomes handy when we develop theme for the sites in liferay.

Without talking lets get in to action right away...

Prerequisites
Name Version Download Page Direct Link
Java 1.7 Java Download Page Click to Download Directly
Mysql 14.14 N/A N/A
Liferay Portal 7.1.0 - CE Lifeay Portal Download Page Click to Download Directly

I am going to use liferay-7.1.0 Community Edition as lab rat for our discussion.

For the installation of MySQL you can refer to an other post from the following link below...

MySQL Server Installation in Ubuntu 18.10

The installation details of the software packages mentioned in pre-requisite section is beyond the scope of discussion... you can refer online articles for their installation(s).

Let us assume you have the liferay portal 7.1.0-CE up and running on your local machine, following the instruction below to have the portal running in developer mode...

At the root of the liferay's portal directory, you must see a file called portal-ext.properties, if you do not then create one and append the file with the following property...

include-and-override=portal-developer.properties

The property include-and-override holds the reference of the property file portal-develper.properties, this property file holds all the necessary properties to have the portal run developer mode.

Once done, shut down the portal and restart it again, this will ensure the liferay portal up and running in developer mode.

Well this has concluded the discussion, hope you had great time.

Thanks.

No comments:

Post a Comment

How to change the root password in linux when it is forgotten/to change

This blog is all about changing the root password of the Linux system when it is forgotten or to reset the password...   Let's get it ...