1.0.23 • Published 2 years ago

@hamaren01/test_skeleton v1.0.23

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Introduction

The skeleton project for create widget and run it in Digital Signage SmartPlayer platform. Widget is HTML5 web technology application. Widget can show on device works with operation system:

  • Windows OS (starts Windows 7 x64(x32) and highest)
  • Linux OS (start Ubuntu 18.04.5 LTS x64(x32) and highest)
  • Tizen OS (start Tizen 2.3 and highest)
  • Orsay OS (start Orsay 2 and highest)
  • WebOs OS (start Webos 2 and highest)
  • Android OS (start Android 5.0 and highest)

    The different devices has different Chromium version it depends on a physical device. Use source code like pattern for create a new widget. The source code uses REACT framework for create application.

Developer environment

  1. Install NVP $ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.36.0/install.sh | bash 1.1 Reboot computer
  2. Check correct installed $ nvm --version, in output console must be "v0.36.0"

    Install NodeJS on Ubuntu 18.04

  3. Install NodeJS $ nvm install v14.4.0
  4. Check correct installed $ node -v, in output console have to show version
  5. Node JS include NPM check it, $ npm -v, in output console must be "6.13.4"

    Install GIT on Ubuntu 18.04

  6. Add a repository with last stable version $ sudo add-apt-repository ppa:git-core/ppa
  7. Install git $ sudo apt install git
  8. Check correct installed $ git --version, in output console must be "v3.0.0"

Build application

The section information how do widget application for SmartPlayer platform. Widget for SmartPlayer platform compile to .zip archive. After compiled .zip file, user can upload it in personal cabinet (cms) and run on target device. 1. In folder skeleton-widget-v3 make command fon install dependent for project: $ npm install 2. Compile empty skeleton widget $ npm run build In folder skeleton-widget-v3/build/skeleton-widget-v3_${version}.zip is widget.