Using the CLI Tool

Now that the Delectable Bonsai site is up and running on Liferay SaaS, Kyle is ready to start deploying client extensions the development team created. To get started, he needs to install the command-line tool.

Here, you’ll install the CLI tool and log into the Cloud console with it.

Install the CLI Tool

Install the tool at the command line with this command:

curl https://cdn.liferay.cloud/lcp/stable/latest/install.sh -fsSL | sudo bash
note

If you have a Windows environment, you can download and run the Windows installer instead.

Once this completes, you are able to use the tool with the lcp command.

Use the Tool to Log In

You must log in through the CLI tool to deploy client extension projects.

Run the lcp login command to log in, and enter y when prompted to open a browser.

The CLI tool prompts you to log in via your browser.

A browser tab automatically opens to https://console.liferay.cloud/login. If your console session has expired, log in again with the credentials you received to authorize the CLI tool.

Once you're logged in, your CLI tool is authorized to access your environments in the console.

Now the tool can connect to your environments to deploy your projects, including client extensions.

Excellent! You’ve completed this module on setting up your cloud instance.

Next: learn to deploy code to your Liferay SaaS instance.

Relevant Concepts

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy