From fe74542f331985e65c3b08b3b85a76e47c5ac6db Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Sat, 4 Jun 2022 03:40:02 +0530 Subject: [PATCH] Add balena.yml file Signed-off-by: Vipul Gupta (@vipulgupta2048) --- README.md | 8 ++++---- balena.yml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 balena.yml diff --git a/README.md b/README.md index d224d1a..165ab66 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# A Simple Server with Node.js Express +# A Simple Server with NodeJS Express [![balena deploy button](https://www.balena.io/deploy.svg)](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/balena-io-examples/balena-node-hello-world) @@ -18,9 +18,9 @@ balena push To give your device a public URL, access the device page on the [balenaCloud dashboard][balena-dashboard], and choose the _Public Device URL_ toggle. Once the device is updated, check the Public Device URL to find the welcome page showing up from your device. That's it, you have deployed your first balena device! -[balena-link]:https://balena.io/ -[signup-page]:https://dashboard.balena-cloud.com/signup -[gettingStarted-link]:https://www.balena.io/docs/learn/getting-started/raspberrypi3/NodeJS/ [balena-cli]:https://www.balena.io/docs/reference/cli/ [balena-dashboard]:https://dashboard.balena-cloud.com/ +[balena-link]:https://balena.io/ [devices-supported]:https://www.balena.io/docs/reference/hardware/devices/ +[gettingStarted-link]:https://www.balena.io/docs/learn/getting-started/raspberrypi3/NodeJS/ +[signup-page]:https://dashboard.balena-cloud.com/signup diff --git a/balena.yml b/balena.yml new file mode 100644 index 0000000..05ef219 --- /dev/null +++ b/balena.yml @@ -0,0 +1,16 @@ +name: balena-nodejs-hello-world +type: sw.application +description: >- + This is a simple skeleton NodeJS server that works on any of the devices supported by balena. It also serves as a boilerplate project for you to get started on building your fleet. Have fun! +post-provisioning: >- + ## Usage instructions + + Allow a few minutes for your device to download the app. Once it's completed, + the welcome page should be accessible on the public device URL. +assets: + repository: + type: blob.asset + data: + url: 'https://github.com/balena-io-examples/balena-nodejs-hello-world/' +data: +