Follow these steps to deploy your theme with the Deploy task. Note that this task only works for themes that use the liferay JS Theme Toolkit, such as those created with the Liferay Theme Generator.
Follow these steps to deploy your theme:
-
Navigate to your theme’s root folder and run
gulp deploy
. -
Your server’s log displays that the OSGi bundle is started.
Figure 1: Your server's log notifies you when the theme's bundle has started.
-
Apply your theme through the Build → Pages menu in the Control Menu. Select the Configure option for your site pages, and click the Change Current Theme button to apply your theme.
Wonderful! Your theme is deployed to your server and applied to your site.