Project

General

Profile

How to run node-red on Alpine Linux » History » Version 3

Nico Schottelius, 08/16/2019 05:36 PM

1 1 Nico Schottelius
h1. How to run node-red on Alpine Linux
2
3 2 Nico Schottelius
{{toc}}
4
5
h2. Introduction
6
7 1 Nico Schottelius
This guide should help anyone to quickly get started with node-red on Alpine.
8
9
Assuming you have a running Alpine Linux installation, the following steps are required:
10
11
* Create an "app" user that runs node-red
12 3 Nico Schottelius
* Install the following packets
13
** build-base python git
14
* Clone the node-red repository as the app user
15
* Change to the node-red directory
16
* Run npm install
17
* Run npm run build
18 1 Nico Schottelius
19
20
h2. Updating node-red
21
22
* Go to the git repository checkout
23
* Git pull the latest code
24 3 Nico Schottelius
* Run npm install
25
* Run npm run build
26 1 Nico Schottelius
* Restart the app