My First Tabris.js App

Today: Hello Tabris.js world!

Or creating a Tabris.js app without installing Node.js first.

With the Yeoman Tabris.js generator and a local Docker installation you can easily create your first Hello World app.

Prepare a local directory and run:

$ docker run --rm -it -v $(pwd):/home/node/workspace -u node node /bin/bash

This will beam you into a temporary Docker container where we will do the actual work.

$ cd /home/node/workspace
$ npm install yo generator-tabris-js http-server
$ ./node_modules/.bin/yo tabris-js
? Your project name hello-world
? Initial version 0.1.0
? Type of project Basic JS App
? Prepare app build Yes
? App ID hello-world
? App name Hello World
? App description Example Tabris.js App
? Author fluffi
? Email fluffi@datenkollektiv.de
...
hello-world@0.1.0 /home/node/workspace
`-- tabris@1.10.0

npm info ok

     _-----_     ╭───────────────────────╮
    |       |          Bye from us!         |--(o)--|           Chat soon.         `---------´         Yeoman team          ( _´U`_ )        http://yeoman.io       /___A___\   /╰───────────────────────╯
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

Yo, we can!