# my first program

**URL:** <https://forums.balena.io/t/my-first-program/65417>\
**Category:** Product support\
**Created:** [February 24, 2020, 7:42pm UTC](https://forums.balena.io/t/my-first-program/65417 "2020-02-24T19:42:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![baudetd](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@baudetd](https://forums.balena.io/u/baudetd)\
**Post date:** [February 24, 2020, 7:42pm UTC](https://forums.balena.io/t/my-first-program/65417/1 "2020-02-24T19:42:01Z")

</div>

hello  
I discovered balena cloud  
however I am looking for the basics to write a program  
what are the basic files?

thanks

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [February 24, 2020, 8:07pm UTC](https://forums.balena.io/t/my-first-program/65417/2 "2020-02-24T20:07:07Z")

</div>

Hello Denis, and welcome. I think the best place to begin is probably with our Getting Started Guides, located here:

[https://www.balena.io/docs/learn/getting-started/raspberrypi3/nodejs/](https://www.balena.io/docs/learn/getting-started/raspberrypi3/nodejs/)

Once you are comfortable with Docker containers and builds, you can draw some inspiration from some of these guides, perhaps:

[https://www.balena.io/blog/tag/etcher-featured/](https://www.balena.io/blog/tag/etcher-featured/)

Thanks!

---

<div class="post-metadata">

**Author:** ![baudetd](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@baudetd](https://forums.balena.io/u/baudetd)\
**Post date:** [February 24, 2020, 10:11pm UTC](https://forums.balena.io/t/my-first-program/65417/7 "2020-02-24T22:11:17Z")

</div>

I develop with node red  
1st question, is it really possible to integrate node red on the platform os balena 2.47?

I have a problem following the installation of the balena-node-red application

> Blockquote  
> node-red node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

thanks

---

<div class="post-metadata">

**Author:** ![hedss](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/hedss/32/210_2.png) [@hedss](https://forums.balena.io/u/hedss)\
**Post date:** [February 24, 2020, 10:18pm UTC](https://forums.balena.io/t/my-first-program/65417/8 "2020-02-24T22:18:59Z")

</div>

Hi @baudetd,

The `balena-node-red` project should be working, but I’ll give this a quick go on a device locally. Could you let me know what kind of device you’re using to try this?

Best regards,

Heds

---

<div class="post-metadata">

**Author:** ![baudetd](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@baudetd](https://forums.balena.io/u/baudetd)\
**Post date:** [February 24, 2020, 10:21pm UTC](https://forums.balena.io/t/my-first-program/65417/10 "2020-02-24T22:21:39Z")

</div>

with rpi 3b+ (not 64bits)

is the node red port still in 1880 ?

---

<div class="post-metadata">

**Author:** ![hedss](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/hedss/32/210_2.png) [@hedss](https://forums.balena.io/u/hedss)\
**Post date:** [February 24, 2020, 10:41pm UTC](https://forums.balena.io/t/my-first-program/65417/12 "2020-02-24T22:41:18Z")

</div>

Hi @baudetd,

There does seem to be a problem with the project, and this is probably down to the fact that Node Red has been updated recently and now requires a new library. You can change this locally in your project by altering the `node-red/Dockerfile` file and changing:

```auto
RUN apt-get update && apt-get install -yq --no-install-recommends \
  rpi.gpio \
  python-dev \
  python-rpi.gpio \
  && apt-get clean && rm -rf /var/lib/apt/lists/*

```

to

```auto
RUN apt-get update && apt-get install -yq --no-install-recommends \
  rpi.gpio \
  python-dev \
  python-rpi.gpio \
  libatomic1 \
  && apt-get clean && rm -rf /var/lib/apt/lists/*

```

and then `balena push`ing the project again. This should then run as expected, and be available on port 80 of the device (`http://<ipaddress>`).

Best regards,

Heds

---

<div class="post-metadata">

**Author:** ![baudetd](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@baudetd](https://forums.balena.io/u/baudetd)\
**Post date:** [February 27, 2020, 9:35pm UTC](https://forums.balena.io/t/my-first-program/65417/14 "2020-02-27T21:35:11Z")

</div>

hello

it’s good !! thanks

however I have a few questions:

in node red, I tried to install node again but I have some s errors:

> Blockquote  
> prebuild-install  
> 2020-02-27T21:34:05.286Z [err] WARN install No prebuilt binaries found (target=12.16.1 runtime=node arch=arm libc= platform=linux)……

another question  
in order to deply whole programs made under node red

is it possible to clone a project (node ​​red with flows) to other hardware

---

<div class="post-metadata">

**Author:** ![CameronDiver](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@CameronDiver](https://forums.balena.io/u/CameronDiver)\
**Post date:** [February 28, 2020, 8:45am UTC](https://forums.balena.io/t/my-first-program/65417/15 "2020-02-28T08:45:17Z")

</div>

Hey, that warning that you posted shouldn’t be an issue, the build should go ahead and compile a version for you. I’m not entirely sure what you mean by the latter question though, could you please rephrase?
