├── .gitignore ├── README.md ├── index.js └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | npm-debug.log 3 | initrd 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ##[runtime.js](https://github.com/runtimejs/runtime) helloworld example application 2 | 3 | ### Install 4 | 5 | Clone this repository and install dependencies: 6 | 7 | ``` 8 | git clone https://github.com/runtimejs/helloworld.git 9 | cd helloworld 10 | npm install 11 | ``` 12 | 13 | Install the command line tool: 14 | 15 | ``` 16 | npm install runtime-cli -g 17 | ``` 18 | 19 | ### Run 20 | 21 | Make sure you have QEMU installed, then 22 | 23 | ``` 24 | npm start 25 | ``` 26 | 27 | *Note: runtime.js is work in progress* 28 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | var runtime = require('runtimejs'); 2 | console.log('Hello World!'); 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "scripts": { 6 | "start": "runtime start" 7 | }, 8 | "repository": { 9 | "type": "git", 10 | "url": "git@github.com:runtimejs/helloworld.git" 11 | }, 12 | "license": "MIT", 13 | "dependencies": { 14 | "runtimejs": "*" 15 | } 16 | } 17 | --------------------------------------------------------------------------------