mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
node-red-dashboard
This commit is contained in:
parent
d4bb04cac9
commit
854ddc5c8a
@ -13,6 +13,7 @@ RUN set -xe \
|
||||
python-dev \
|
||||
&& npm install -g node-red \
|
||||
node-red-admin \
|
||||
node-red-dashboard \
|
||||
&& apk del build-base \
|
||||
python-dev \
|
||||
&& rm -rf /tmp/npm-*
|
||||
|
@ -69,7 +69,15 @@ module.exports = {
|
||||
$ cd ~/fig/node-red/
|
||||
$ docker-compose up -d
|
||||
$ vi node-red/settings.js
|
||||
$ docker-compose exec node-red bash
|
||||
>>> cd /root/.node-red
|
||||
>>> apk add -U build-base
|
||||
>>> npm install node-red-node-irc
|
||||
>>> npm install node-red-node-daemon
|
||||
>>> exit
|
||||
$ docker-compose restart
|
||||
```
|
||||
|
||||
> Install nodes from [node-red-nodes](https://github.com/node-red/node-red-nodes).
|
||||
|
||||
[1]: http://nodered.org/
|
||||
|
@ -17,6 +17,7 @@ RUN set -xe \
|
||||
&& pip install rpi.gpio \
|
||||
&& npm install -g node-red \
|
||||
node-red-admin \
|
||||
node-red-dashboard \
|
||||
&& apk del build-base \
|
||||
python-dev \
|
||||
&& rm -rf /tmp/npm-*
|
||||
|
Loading…
Reference in New Issue
Block a user