Generating Project Samples with Blade CLI

Liferay provides many useful sample projects for those interested in learning best practices for Liferay DXP projects. You can learn more about these samples by visiting Sample Projects.

Rather than cloning the repository, you can generate these samples using Blade CLI for convenience.

  1. List the available sample projects:

    blade samples

    Note the sample project you want to generate; you’ll use it in the next step.

  2. Run the following command to generate a sample project:

    blade samples <NAME>

    For example, to generate the portlet-ds sample, execute

    blade samples ds-portlet

    The sample is generated in the current folder.

Awesome! You’ve successfully generated a Liferay sample project using Blade CLI!

« Managing Your Liferay Server with Blade CLIUpdating Blade CLI »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0