Deploying Your Theme

To deploy your theme to your app server, run the gulp deploy task. The gulp deploy task builds your theme’s files, and deploys the generated WAR file to the app server you configured when you created the theme.

Follow these steps to deploy your theme:

  1. Navigate to your theme’s root folder and run gulp deploy.

    Figure 1: Run the gulp deploy task to build your themes files and deploy it to your app server.

    Figure 1: Run the `gulp deploy` task to build your theme's files and deploy it to your app server.

  2. Your server’s log displays that the OSGi bundle is started.

    Figure 2: Your servers log notifies you when the themes bundle has started.

    Figure 2: Your server's log notifies you when the theme's bundle has started.

  3. You can apply your theme through the NavigationSite 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.

    Figure 3: Run the gulp deploy task to build your themes files and deploy it to your app server.

    Figure 3: Run the `gulp deploy` task to build your theme's files and deploy it to your app server.

Automatically Deploying Theme Changes

Copying an Existing Theme’s Files

Creating Reusable Pieces of Code for Your Themes

« Building Your Theme's FilesChanging Your Base Theme »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています