To build a Bolt‑based web application, you will need the following:
Install and set up bolt-tools on your system by following the instructions in the repository:
https://github.com/rdkcentral/bolt-tools/tree/main
Bolt Tools provides the utilities required to package and sign your Bolt applications.
The app package configuration defines the entry point, dependencies, permissions, and other metadata required for building the Bolt package.
Example: "--url=https://lightningjs.io/tmdb/#splash"
Example: "com.rdkcentral.wpe-rdk": "0.1.0"
{
"id": "com.rdkcentral.tmdb",
"version": "0.1.0",
"versionName": "develop",
"name": "tmdb",
"packageType": "application",
"entryPoint": "--url=https://lightningjs.io/tmdb/#splash",
"dependencies": {
"com.rdkcentral.wpe-rdk": "0.1.0"
},
"permissions": [
"urn:rdk:permission:internet",
"urn:rdk:permission:firebolt",
"urn:rdk:permission:thunder",
"urn:rdk:permission:rialto"
],
"configuration": {}
}
To package an HTML/Lightning app into a Bolt bundle, you need:
com.rdkcentral.app_name.json).tgz formatFor HTML/Lightning applications, the rootfs layer can be an empty .tgz file, since the app is launched via a browser using a URL.
.tgz file, e.g.:empty.tgz
bolt pack com.rdkcentral.app_name.json empty.tgz
com.rdkcentral.app_name+<version>.bolt
This is the Bolt package to be installed on the platform.Every Bolt app must be digitally signed before installation.
Follow the signing instructions here:
https://wiki.rdkcentral.com/spaces/RDKM/pages/447124247/Bolt+package+-+signing+and+verification
.bolt package to the device, for example:/tmp/com.rdkcentral.app_name+0.1.0.bolt