Skip to content

meri-imperiumi/curiosity

Repository files navigation

S/Y Curiosity IoT setup

This repository is for setting up the S/Y Curiosity onboard computer system.

Development

For development there is a Docker image available. Run it with:

$ docker run --rm --name curiosity -p 3000:3000 meriimperiumi/signalk-curiosity:latest

This should make the Signal K installation with Curiosity's configuration available at http://localhost:3000

If you want to access demo data, run with:

docker run --name curiosity -p 3000:3000 --rm --entrypoint /home/node/signalk/bin/signalk-server meriimperiumi/signalk-curiosity:latest --sample-nmea0183-data

Deployment

Production deployment on ship network is done via Ansible using roles from the marinepi-provisioning repo.

Deploy for a test installation with:

$ make deploy ENV=dev

Deploy on Curiosity with:

$ make deploy ENV=prod

Backup

Copy Signal K files back to this repository with:

$ make backup

Then add and commit changes as needed.