Skip to content

Basic build configuration to begin building Apple TV apps using TVDML library

License

Notifications You must be signed in to change notification settings

a-ignatov-parc/tvdml-app-boilerplate

Repository files navigation

TVDML Application boilerplate

Basic build configuration to begin building Apple TV apps using TVDML library.

Demo app

Here's a glimpse of what it looks like

Main Screen

Run demo app

To be able to build application you need node.js >= 8.9.0 and yarn >= 1.3.0.

If you are using nvm there is an .nvmrc

To start we need to install all dependencies with yarn:

yarn

If you don't have globally installed yarn you can install all dependencies using local yarn installation:

npm run install-deps

Now you need to start webserver to build and serve TVML app:

npm run serve

Server will start at localhost:9001

Next step is to open XCode project (boilerplate.xcodeproj) located in xcode folder and run project with "Play" button at the top left corner or hit CMD + R. This will open Apple TV simulator and you'll be able to play around with demo app.

Build project

In addition to serve application from MemoryFS you can build your application located in /src folder:

npm run build

Results will be placed in /dist folder.

To build optimized and minified version use:

npm run dist

Additional information

Old build configuration based on gulp.js can be found in gulp branch.

About

Basic build configuration to begin building Apple TV apps using TVDML library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published