Home

README

This is the KPN Pilot application for LG devices (to start with).

How do I get set up?

  • Pull the repository.
  • Execute npm install (Allows you to run npm package tasks like grunt)
  • Execute git submodule update --init (pulls in AppCore)
  • Execute grunt styles (generates css files)
  • Set up a VHOST according to the below specifications:
<VirtualHost *:80>
    DocumentRoot "path/to/code"
    ServerName kpn.dev.local
    DirectoryIndex index.php
</VirtualHost>

API Setup

There are three API endpoints available:

  • Production: https://prod.api.interactievetv.nl/
  • Beta: https://smarttv.test.api.interactievetv.nl/
  • Staging/Acceptance: https://acceptance.smarttv.api.interactievetv.nl/

Accessing one of these three endpoints is configured in the application. By passing a query parameter, you can switch the endpoint that is being used.

  • For Beta, append the query parameter api=beta to your url.
  • For Staging/Acceptance, append the query parameter api=staging.
  • For Production, append the query parameter api=prod.
  • The default, without query parameter, goes to production.

The Production API can be called directly from several specific domains. You can configure one in your VHOST. These domains are supported:

  • kpn.dev.local
  • kpn-pilot.24imedia.tv
  • kpn-pilot.dev.24imedia.tv
  • kpn-pilot.test.24imedia.tv

The Beta (SIT) API can be used on all domains. Using this is particularly useful for testing on televisions with your local version.

Designs

The design is made by KPN, see the contact details for the designers down below. Accessing the design is done through Zeplin http://zpl.io/anok3qr. If you do not have acccess, this can be requested at the designers.

Deployment

Deployment goes automatically to a staging domain. To provide a new build to the client, the build repository has to be updated with the new version.

The build repository can be found here: https://bitbucket.org/24imedia/kpn-lg-pilot-build

When a new build is available, KPN has to give the final go for it to go to production.

Contact information

24i

KPN