Versions Compared

Key

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

...

...

  •   
Code Block
$ npm install -g @lightningjs/cli


reference image for Lightning-CLI install

...

  • Create Lightning refapp dev build

    1. pull code from source repo using

      command $git clone 

      below command

      Code Block
      $ git clone https
      https
      ://github.com/LibertyGlobal/refapp.git


    2. goto refapp directory

      $

      Code Block
      $ cd 
      cd
      refapp


    3. install the NPM dependencies by running

      command $npm install

      below command

      Code Block
      $ npm install


    4. run copyAssets.sh command to create static folder and copy images, json files etc

      Code Block
      $./copyAssets.sh


    5. run command $lng dev for below command for testing in browser. 
Code Block
$ lng dev

refer below screenshots for reference

...

reference image for running app on browser

  • Create dist (build)

    1. run command $lng dist to make build.below command to make build.
Code Block
$ lng dist


reference image for dist creation

...