Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

calaos/calaos-os-update-ws

Repository files navigation

Calaos OS update Webservice. This nodejs webservice serve OTA for calaos OS. Client ask for new version by getting address : http://ws_ip:ws_port/update?version=2.0&machine=raspberrypi&type=testing and this webservice returns the url of the newest image for this machine if it exists.

#Run web service

1- Install all you need for running the app :

npm install express

2- Launch webservice

node app.js

#Unit tests

  1. install dependencies to run tests :
npm install supertest
npm install assert
npm install -g mocha
  1. run the test suite
mocha

About

Webservice for Calaos OS update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published