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.
-
Select the project from the Package Explorer window and drag it to your Liferay server in the Servers window.
-
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.
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.