Deploying Projects with IntelliJ IDEA

Once you’ve created a project and installed your Liferay server in IntelliJ, you’ll want to deploy your project. Follow the steps below to do this:

  1. Right-click your project from within the Liferay Workspace folder structure and select LiferayDeploy.

    This automatically loads a build progress window viewable at the bottom of your IntelliJ instance.

    Figure 1: Verify that your project build successfully.

    Figure 1: Verify that your project build successfully.

  2. Verify that your project builds successfully from the build progress window. Then navigate back to your server’s window and confirm it starts in your configured Liferay DXP instance. You should receive a message like this:

    INFO  [fileinstall-C:/liferay-workspace/bundles/osgi/modules][BundleStartStopLogger:35] STARTED com.liferay.docs_1.0.0 [652]
    

The watch Blade CLI task deploys your project. This watches your local project and propagates 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! You’ve successfully deployed your project to Liferay DXP!

« Installing a Server in IntelliJ IDEALiferay Sample Projects »
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助