• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

Building a local portal

A local portal is simply nothing more than a tarball of HTML5, JavaScript, CSS files and any images required.

The kreatv-option-local-portal IIP is used to install a local portal into the boot image.


# add the local portal tarball
kreatv-option-local-portal::file=../path/to/tarball/on/hostPC.tgz

The IIP is rather simple. It simply installs (untars) the specified tgz file to /usr/local/portal. URLs located here are automatically whitelisted (meaning that they are permitted to use the TOI3 API).

Setting the start URL

When installing a local portal, you probably want to run it as the default startup URL used by the portal application. You can do this by providing a file:// URL to the portal application IIP in your boot image configuration file:


kreatv-app-webkit-portal::url=file:///usr/local/portal/my-portal-dir/index.html

5.1.1.p8

Copyright (c) 2018 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.