Publishing the HTML design
The build process is triggered when you publish the Publish HTML Design page.
About this task
- Building the HTML Design
-
When you publish the Publish HTML Design page, the HTML Design is built using Grunt tasks running on
Node.js. The raw code—LESS/CSS/JS and so on—is compiled, merged and minified using Grunt tasks running onNode.js, and the resulting assets are published as binary variants to the Content Broker database. These assets are then serialized to the file system (you can find them inside the BinaryData Folder) and URL requests are rewritten to this file location. - Manually building assets
-
If you want to manage and deploy the design assets in an alternative manner, for example manually build and deploy the compiled assets to the Web application file system, unpublish and remove the Publish HTML Design Page from your Web site, and deploy the design files to the server in /system/assets. You also need to deploy a version.json file to the /system/assets folder of your Web application, which contains the version number which is added to the URLs for static assets: {"version":"v0.16"}
Procedure
- Access the Content Manager Explorer Web site.
- Navigate to the Home/_System Structure Group.
- Publish the changes to the HTML Design:
- Navigate to the Home/_System/ Structure Group.
- Publish the Publish HTML Design Page.