Skip to content

sky-philipalmeida/tvml-catalog-using-atvjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TVML Catalog: Using atvjs framework

This is a port of the original TVML Catalog Sample Code re-written using atvjs framework. Refer to the framework documentation for its usage details.

Getting Started

Assuming that you have nodejs and npm installed on your machine, do the following to get started:

$ npm install -g gulp karma-cli         # Install Gulp and Karma globally
$ npm install                           # Install dependencies

Development

Builds the application and starts a webserver. By default the webserver starts at port 9001.

$ gulp

By default, it builds in debug mode.

  • If you need to build in release mode, add --type production flag.
  • You can define a port with --port 8080 flag. (If you start the server on a different port, make sure to update the same in the native application)
  • If you need to run tests while building/starting the application, add --tests flag.
  • To run just the test suite, gulp test or karma start

Structure

The project is split into two parts:

  • native: this directory contains the Xcode project and related files. The AppDelegate.swift file handles the setup of the TVMLKit framework and launching the JavaScript context to manage the application.
  • web: this directory contains the JavaScript and TVML template files needed to render the application. The contents of this directory must be hosted on a server accessible from the device.

License

MIT License.

About

Port of the TVML Catalog Sample Code re-written using atvjs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 81.7%
  • JavaScript 13.3%
  • Swift 3.0%
  • CSS 2.0%