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.

  1. 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.q2.11
    

    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.

  2. 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
    
  3. Deploy the site initializer:

    ../gradlew clean deploy -Ddeploy.docker.container.id=$(docker ps -lq)
    
  4. Create a site to kick off the initializer’s resource creation logic. In Control Panel → Sites, click New.

  5. Select the J6K3 template, name the site TEMP, then click Add.

  6. Confirm the users were added in Control Panel → Users and Organizations.

    Users were added during site creation.

Important

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.

  1. To add users to the site, you must enable manual membership management in the site. Go to Site MenuConfigurationSite Settings, and open Site Configuration.

  2. Toggle Allow Manual Membership Management and click Save.

  3. In the Site Menu, click PeopleMemberships.

  4. Click New, then select Olivia O’Neal, Preston Palmer, and Rex Randle.

    Select the site users.

  5. Click Done.

  6. In the Memberships screen, click the Actions button for Preston Palmer and choose Assign Roles.

  7. Select Site Administrator and click Done.

The users needed in this course are as follows:

UserJob TitleRoleFunction
Rex RandleCustom Advocacy SpecialistPortal Content ManagerRex receives customer emails and turns them into FAQ entries, and performs other content management tasks as needed.
Olivia O’NealContent ManagerPortal Content Reviewer
Portal Content Manager
Olivia reviews Rex’s FAQ entries and manages content creation in the site.
Preston PalmerIT StaffSite AdministratorPreston configures the site, activating workflows, overseeing publications, etc.
Kyle KleinIT ManagerInstance AdministratorKyle 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.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy