Here are some instructions to prepare your environment to start your local Liferay environment.
-
Clone the repository to your computer.
git clone https://github.com/liferay/liferay-course-building-enterprise-websites.git
Once cloned, navigate into the project's folder.
cd liferay-course-building-enterprise-websites
-
Perform a git fetch, a day before the training starts, to ensure you have the latest version.
git fetch origin
-
Checkout the master branch.
git checkout master
-
To ensure you have the most recent content for master branch, run the following command.
git pull origin master
-
In the terminal, navigate to the root folder of the repository and run the following command.
cd liferay-course-building-enterprise-websites
blade gw initBundle
Or
./gradlew initBundle
-
After a successful build, run the 'blade server run' command to start your server.
blade server run
In case you don't have blade installed, run the following command from the workspace's root folder.
./bundles/tomcat/bin/catalina.sh run
Now, a clean Liferay environment should have started.
-
When finished, access your Liferay DXP instance by going to
localhost:8080
in your browser. -
Sign in using these credentials.
- Username:
[email protected]
- Password:
learn
- Username:
Once logged in, access the Control Panel → Search → Index Actions → Execute Full Reindex.
And voilà! You're ready to dive into the course!