Skip to content

Commit

Permalink
Add balena.yml file
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipul@balena.io>
  • Loading branch information
vipulgupta2048 committed Jun 3, 2022
1 parent b5ea200 commit fe74542
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -18,9 +18,9 @@ balena push <FLEET_NAME>
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
16 changes: 16 additions & 0 deletions balena.yml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit fe74542

Please sign in to comment.