-
Notifications
You must be signed in to change notification settings - Fork 22
Minor fixes for next release (originally fixing yarn warning) #9
Minor fixes for next release (originally fixing yarn warning) #9
Conversation
@rzr I intended for it to be installed in the home directory, rather than conflict with the gateway's own |
OK I think I faced a bigger problem I will update PR eventually |
With this change: I noticed that wpa-supplicant was missing I will replace this PR once everything is checked. |
We just need to run the gateway without the |
2384de7
to
a1a749c
Compare
Ok so the change should be in runapp.sh ? I am trying this too |
Yes, either that or we need a separate startup script. |
To avoid unexpected behaviours, quit on error (set -e) Change-Id: Ifbf6401b66afd71472f1b953a7aa4b57c0ecfd3f Relate-to: WebThingsIO/gateway-docker#9 Signed-off-by: Philippe Coval <[email protected]>
To avoid unexpected behaviours, quit on error (set -e) Change-Id: Ifbf6401b66afd71472f1b953a7aa4b57c0ecfd3f Relate-to: WebThingsIO/gateway-docker#9 Signed-off-by: Philippe Coval <[email protected]>
Is there any reason you don't want to use |
To avoid unexpected behaviours, quit on error (set -e) Change-Id: Ifbf6401b66afd71472f1b953a7aa4b57c0ecfd3f Relate-to: WebThingsIO/gateway-docker#9 Signed-off-by: Philippe Coval <[email protected]>
|
I'll be back in 1 week too, maybe I could add a couple of changes more but it's not critical |
a1a749c
to
20a0e1a
Compare
Change-Id: I3e634f89b29baf42cfc02a56c0b13edda489af45 Signed-off-by: Philippe Coval <[email protected]>
To avoid unexpected behaviours, quit on error (set -e) Change-Id: Ifbf6401b66afd71472f1b953a7aa4b57c0ecfd3f Relate-to: WebThingsIO/gateway-docker#9 Signed-off-by: Philippe Coval <[email protected]>
@mrstegeman beware @hobinjk might drop yarn support, can we just rely on NPM ? |
That shouldn't be a problem. I'll tackle it when necessary. |
@rzr The potential dropping of yarn support is very far in the future since it would require changing a significant amount of our build scripts. It's definitely not something that will happen soon enough to impact this PR |
docker-compose.yml
Outdated
volumes: | ||
- /root/mozilla-iot/gateway | ||
ports: | ||
- "8080:8080" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Port 4443 should also be added here.
docker-compose.yml
Outdated
services: | ||
web: | ||
build: . | ||
command: /root/mozilla-iot/gateway/run-app.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/home/node/mozilla-iot/gateway/run-app.sh
docker-compose.yml
Outdated
build: . | ||
command: /root/mozilla-iot/gateway/run-app.sh | ||
volumes: | ||
- /root/mozilla-iot/gateway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/home/node/.mozilla-iot
Usage: docker-compose up Change-Id: Iae65fe96fa64765cad0478ecd83e01c9439f0e18 Signed-off-by: Philippe Coval <[email protected]>
Change-Id: Ide0cb0dae99cd207ef7af97963c36a1b1b8098d1 Signed-off-by: Philippe Coval <[email protected]>
20a0e1a
to
e7966c7
Compare
yarn failed to install and thus failed to install gateway dependencies,
to we relocate it to let it find gateway's package.json file.
Observed (silent) issue on docker 17.12.1-ce (Ubuntu-18.04) on x86_64:
Change-Id: I8737dfc28da8c8bf266de829725f3c09f62d9468
Signed-off-by: Philippe Coval [email protected]