Skip to content

Prepare and Build

Hyojin Kim edited this page Apr 2, 2020 · 18 revisions

Supported platform

  • browser
  • sectv-orsay
  • sectv-tizen
  • tv-webos

How to prepare

  • browser

    $ cordova build browser
  • sectv-orsay

    $ grunt sectv-prepare:sectv-orsay
  • sectv-tizen

    $ grunt sectv-prepare:sectv-tizen
  • tv-webos

    $ grunt sectv-prepare:tv-webos

How to build and package

  • browser

    # Test on browser platform
    $ cordova emulate browser
  • sectv-orsay

    # Test on sectv-orsay platform
    $ grunt sectv-build:sectv-orsay
    # Run the application on target by using SDK
  • sectv-tizen

    • Set the path of environment variables

      • Case 1. Tizen TV SDK 2.4 (previous version)

        C:\tizen-sdk\tools\ide\bin
        
      • Case 2. Tizen Studio (Recommended)

        C:\tizen-studio\tools\ide\bin
        
    • Modify Gruntfile.js

          // Fill out your 'profilePath' and 'profileName'
          'sectv-tizen': {
              profilePath: 'C:/tizen-studio-data/profile/profiles.xml',
              profileName: '<yourprofileName>',
              www: 'platforms/sectv-tizen/www',
              dest: 'platforms/sectv-tizen/build'
          }
      • Check your profilePath
        • Case 1. Tizen TV SDK 2.4 (previous version) /<yourWorkspace>/.metadata/.plugins/org.tizen.common.sign/profiles.xml
        • Case 2. Tizen Studio (Recommended) : C:/tizen-studio-data/profile/profiles.xml
      • Check your profileName
        • Case 1. Tizen TV SDK 2.4 (previous version) window > Preferences > Tizen SDK > Security Profiles
        • Case 2. Tizen Studio (Recommended) Tools > Certificate Manager > Certificate Profile (Actived one)
    • For more details, please refer the tizen package

      # Test on sectv-tizen platform
      $ grunt sectv-build:sectv-tizen
      # Run the application on target by using SDK
  • tv-webos

    • Set the path of environment variables

      C:\webOS_TV_SDK\CLI
      
    • For more details, please refer the webos package

      # Test on tv-webos platform
      $ grunt sectv-build:tv-webos
      # Run the application on target by using SDK
  • For more details, please refer the README.md

Clone this wiki locally