Basic build configuration to begin building Apple TV apps using TVDML library.
Here's a glimpse of what it looks like
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:
yarnIf you don't have globally installed yarn you can install all dependencies using local yarn installation:
npm run install-depsNow you need to start webserver to build and serve TVML app:
npm run serveServer 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.
In addition to serve application from MemoryFS you can build your application located in /src folder:
npm run buildResults will be placed in
/distfolder.
To build optimized and minified version use:
npm run distOld build configuration based on gulp.js can be found in gulp branch.
