Closed bergie closed 3 years ago
Is installing from git really necessary? My plan for the coming season is to run in Docker (like I did last season) or the standard way is to install from npm.
Well, the node-app
setup for the signalk
role uses git. I definitely see the appeal of going Docker (though preferably with containers run individually by systemd instead of docker-compose), but right now this seems to be the default installation method, and it broke when Signal K went TypeScript.
Just in case you’ve missed it: https://github.com/tkurki/marinepi-provisioning/tree/master/roles/signalk-docker
Yup, I've seen that one. Comes with a bit more stuff than what I need so I've been sticking to the regular SK role
We need to add a
npm run build
in the git checkout for thesignalk
role. Otherwise it'll fail to start with: