Skip to main content

Exercise 1

Scenario

All L7|ESP installations consist of two main components:

  • The core L7|ESP platform

  • The content and configurations specific to each installation.

These components are packaged into a deployment bundle (tarball) and shared with application administrators for installation into their local environment.

Your Task

Part 1: Fetch and extract an L7|ESP tarball

As an application administrator, you receive the first build of L7|ESP that needs to be deployed for your colleagues to use at the donation clinic.

Begin by extracting the deployment bundle below:

  1. Right-click the link: Blood banking >(opens in a new tab)

  2. Select "Copy Link Address"

  3. Run these commands in your terminal:

1 curl <tarball_url> -o training_module.tar.gz
2 tar zxvf training_module.tar.gz

Part 2: Start the L7|ESP container

With the tarball unzipped, you can now start the L7|ESP container.

1) Login to the L7 Docker registry

1 docker login --username l7devops

2) Enter password sent via email (Docker Access Token)

3) Navigate to the project folder:

1 cd training_module

4) Start the container:

1 docker-compose up --detach

Question: How can you confirm that the container is running?

Answer: You can confirm the container is running by navigating to L7|ESP in your web browser (localhost:8002).

5)  Copy the .env.example file to .env

cp .env.example .env

6)  Open the .env file in your editor and change the value of the L7ESP_PASSWORD to Password12!

Part 3: Install content

Install the content provided in the tarball using these commands:

1 docker-compose exec server bash

2 make install