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

  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)  Copy the .env.example file to .env

cp .env.example .env

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

6) Start the container:

1 docker-compose up --detach

7) To confirm the container is running, navigate to L7|ESP in your web browser (localhost:8002).

Part 3: Install content

Install the content provided in the tarball using these commands:

1 docker-compose exec server bash

2 make install