Deploying Projects with Liferay Dev Studio

Deploying projects in Liferay Dev Studio is a cinch. Before deploying your project, make sure you have a Liferay server configured in Dev Studio. To see how to do this, see the Installing a Server in Liferay Dev Studio

There are two ways to deploy a project to your Liferay server. You should start your Liferay server before attempting to deploy to it.

  1. Select the project from the Package Explorer window and drag it to your Liferay server in the Servers window.

    Figure 1: You can use the drag-and-drop method to deploy your project to Liferay DXP.

    Figure 1: You can use the drag-and-drop method to deploy your project to Liferay DXP.

  2. Right-click the server from the Servers window and select Add and Remove…. Add the project(s) you’d like to deploy from the Available window to the Configured window. Then click Finish.

    Figure 2: Using the this deployment method is convenient when deploying multiple projects.

    Figure 2: Using the this deployment method is convenient when deploying multiple projects.

If you’re deploying a project using Liferay Workspace, the watch Blade CLI task is used to deploy your project. This watches your local project and quickly propagates any saved changes to the deployed project. With this, project updates are viewable almost instantaneously from your Liferay server. For more info on the watch task, see the Deploying Projects with Blade CLI article.

That’s it! Once your project is deployed to the Liferay server, you can verify its installation in Dev Studio’s Console window.

« Creating Themes with Liferay Dev StudioManaging Projects with Liferay Dev Studio »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています