Initial Setup
If you’re beginning this course, and you haven’t completed the exercises in Liferay Administrator, you must import the results of that course before continuing with this one.
-
First, start a new Liferay DXP instance by running
docker run --env LIFERAY_COMPANY_PERIOD_SECURITY_PERIOD_STRANGERS_PERIOD_VERIFY=false -it -m 8g -p 8080:8080 liferay/dxp:2024.q1.1
Sign in to Liferay at http://localhost:8080 using the email address test@liferay.com and the password test. When prompted, change the password to learn.
-
Download and unzip the J6K3 Site Initializer.
curl https://resources.learn.liferay.com/courses/latest/en/liferay-administrator/liferay-j6k3.zip -O
unzip liferay-j6k3.zip
cd liferay-j6k3
-
Deploy the site initializer:
../gradlew clean deploy -Ddeploy.docker.container.id=$(docker ps -lq)
-
Create a site to kick off the initializer’s resource creation logic. In Control Panel → Sites, click New.
-
Select the J6K3 template, name the site TEMP, then click Add.
-
Confirm the users were added in Control Panel → Users and Organizations.
You created this site to run the site initializer’s logic only. The instructions proceed assuming you’re using the default site created by Liferay on startup.
-
To add users to the site, you must enable manual membership management in the site. Go to Site Menu → Configuration → Site Settings, and open Site Configuration.
-
Toggle Allow Manual Membership Management and click Save.
-
In the Site Menu, click People → Memberships.
-
Click New, then select Olivia O’Neal, Preston Palmer, and Rex Randle.
-
Click Done.
-
In the Memberships screen, click the Actions button for Preston Palmer and choose Assign Roles.
-
Select Site Administrator and click Done.
The users needed in this course are as follows:
User | Job Title | Role | Function |
---|---|---|---|
Rex Randle | Custom Advocacy Specialist | Portal Content Manager | Rex receives customer emails and turns them into FAQ entries, and performs other content management tasks as needed. |
Olivia O’Neal | Content Manager | Portal Content Reviewer Portal Content Manager | Olivia reviews Rex’s FAQ entries and manages content creation in the site. |
Preston Palmer | IT Staff | Site Administrator | Preston configures the site, activating workflows, overseeing publications, etc. |
Kyle Klein | IT Manager | Instance Administrator | Kyle manages workflows at the instance level (e.g., importing or creating workflow processes). |
Now that the users are in place, get started by changing some instance settings to repurpose the site for Clarity.