Deploy the Easy Spaces Sample App

Learning Objectives

In this project, you’ll:

  • Deploy the Easy Spaces sample app.
  • Learn about the app use cases.
  • Explore the Easy Spaces sample app implementation.

Introducing the Easy Spaces Sample App

In this project you deploy and explore the Easy Spaces sample app. This app helps Easy Spaces, a fictitious event management company, find the right theme for its customer’s space, and manage reservations on the Salesforce Platform.

In this quick start, you explore a Lightning console app. You also learn how to structure your project metadata into modules, then create and deploy your app using unlocked packages.

Overview of the Easy Spaces sample app

About This Project

In this Quick Start project, you install a sample app from the Trailhead Sample Gallery. The sample app has examples that you can use to learn about Lightning console APIs, Lightning flows, Lightning web components, custom Lightning page templates, and object agnostic design. With object-agnostic design, use custom metadata to build components that work with any object without having to make any code changes. 

This project also has example code demonstrating how to communicate between Lightning Web Components using Lightning Messaging Service (LMS), and how to launch dynamic flows from Lightning components. 

This project organizes application metadata into granular units or modules. The Easy Spaces app is composed of interdependent unlocked packages.

To tour the sample app gallery, see Quick Start: Explore the Sample App Gallery

Before You Start

Before you take the steps in this hands-on project, make sure you complete Quick Start: Lightning Web Components. The first two steps of this badge walk through setting up your Salesforce DX development environment.

Note

Note

For this Quick Start, you need a set of tools we call Salesforce DX (Developer Experience). It includes the Salesforce Command Line Interface (CLI) and Visual Studio Code, which, with the Salesforce Extension Pack, is the recommended code editor for developing on the Salesforce Platform.

To clone the repository that contains the sample app, you use Git, a version control system. Follow the instructions in this step to install Git. Then follow the instructions in the sample app readme file to clone the sample app repository and deploy the sample app to your Trailhead Playground.

Create a New Trailhead Playground

For this project, you need to create a new Trailhead Playground. Scroll to the bottom of this page, click the down arrow next to Launch, and select Create a Trailhead Playground. It typically takes 3–4 minutes to create a new Trailhead Playground

Note

Note

Yes, we really mean a brand-new Trailhead Playground! If you use an existing org or playground, you can run into problems completing the challenges.

Get Your Trailhead Playground Username and Password

Let's get started. Go to your Trailhead Playground. (If it’s not already open, scroll to the bottom of this page and click Launch.) If you see a tab in your org labeled Get Your Login Credentials, great! Skip ahead to step 1. 

Otherwise, from the App Launcher (App Launcher), find and open Playground Starter and follow the steps. If you don’t see the Playground Starter app, check out Find the Username and Password for Your Trailhead Playground on Trailhead Help.

  1. Click the Get Your Login Credentials tab and take note of your username.
  2. Click Reset My Password. This sends an email to the address associated with your username.
  3. Click the link in the email.
  4. Enter a new password, confirm it, and click Change Password.

Get Git Command Line

  1. Install Git from https://git-scm.com/downloads. Accept all of the default installation settings.
  2. Confirm that Git is installed. In Terminal (macOS) or Command Prompt (Windows), enter this command:
     git
    The output should be a list of Git commands.

Deploy the App

Deploy the app to your Trailhead Playground org by following the instructions in the project readme in the section Installing Easy Spaces using Unlocked Packages.

Congratulations! You’ve successfully set up the Easy Spaces sample app. In the next step, you explore the app.