We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87b947 commit 48560adCopy full SHA for 48560ad
bootstrap.sh
@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+docker rm operating-block-gateway
3
+docker run -d --rm --device /dev/ttyUSB0:/dev/ttyUSB0 -v ./data:/data -p 1880:1880 -e NODE_RED_ENABLE_SAFE_MODE=true ghcr.io/smartoperatingblock/operating-block-gateway:latest
4
+docker exec -it operating-block-gateway /bin/sh -c "cd /data; npm rebuild --build-from-source; exit"
5
+docker stop operating-block-gateway
6
+docker run -p 1880:1880 -v ./data:/data --device /dev/ttyUSB0:/dev/ttyUSB0 --group-add dialout --env-file .env --name operating-block-gateway ghcr.io/smartoperatingblock/operating-block-gateway:latest
0 commit comments