Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Before you follow the steps below, make sure you have the Lightning-CLI installed globally on your system

$ npm install -g @lightningjs/cli


Lightning refapp build (dev build) instruction:

  1. pull code from source repo $git using command $git clone https://github.com/LibertyGlobal/refapp.git
  2. install the NPM dependencies by running $npm command $npm install
  3. run $./copyAssets.sh
  4. run command $lng dev for testing in browser.
  5. run command $lng dist to make build.


Hosting lighting refapp application:

  1. copy the lighting build app from dist folder.
  2. host build folder into any http server.
  3. test the hosted application in browser with help of url.


Image Added



Build Instructions for Lighting refapp application integration into rdk-generic-hybrid-image-raspberrypi:

//TODO


Procedure to flash image in SD card:

method 1:

The image file will be generated under build-<MACHINE>/tmp/deploy/images/<MACHINE> directory

# Insert the micro SD card and mention the card's device file name
# input file (if) is the image file to flash and the output file (of) is the card's device file name
sudo dd if=rdk-generic-hybrid-wpe-image-raspberrypi-rdk-hybrid.rpi-sdimg of=/dev/<sd file> bs=4M

or

method 2:

Use Balena Etcher to Flash it to the Raspberry Pi's SD card, download link: https://www.balena.io/etcher/

image2020-11-13_12-24-56.pngImage Added


Lighting refapp application integration into rdk-generic-hybrid-image-raspberrypi:-raspberrypi build instructions and procedure to flash image in SD card >>> RDK-V (Raspberry Pi) Yocto Build Instructions - Morty#2060371222 


  1. login to raspberrypi : $ssh root@<<IP address>>
  2. cd /lib/rdk/
  3. add lighting refapp url into referenceApp.sh config file.
  4. reboot the box .
  5. lighting application will launch instead of switcher app.

Image Added