Skip to content

liferay/enablement-bootcamp-clarity

Repository files navigation

Building Enterprise Websites with Liferay

Enablement Bootcamp Prerequisite

Please review the course prerequisites here.

Setting up environments

Here are some simple instructions to prepare your environment before the training starts.

  1. Clone the repository to your computer.

    git clone https://github.com/liferay/enablement-bootcamp-clarity.git
    

    Once cloned, navigate into the project's folder.

    cd enablement-bootcamp-clarity
    
  2. Perform a git fetch, a day before the training starts, to ensure you have the latest version.

    git fetch origin
    
  3. Checkout the main branch.

    git checkout main
    
  4. To ensure you have the most recent content for main branch, run the following command.

    git pull origin main
    
  5. In the terminal, navigate to the root folder of the repository and run the following command.

    cd enablement-bootcamp-clarity
    
    blade gw initBundle
    

    Or

    ./gradlew initBundle
    
  6. 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.

  1. When finished, access your Liferay DXP instance by going to localhost:8080 in your browser.

  2. Sign in using these credentials.

Once logged in, access the Control Panel → Search → Index Actions → Execute Full Reindex.

And voilà! You're ready to dive into the bootcamp!