Check Wiki and Glossary for more info
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
npm install -g gulp-cli
./src/driver
npm install
gulp
sudo apt-get install libudev-dev libusb-1.0-0-dev
sudo vi /etc/udev/rules.d/99-garmin.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2123", ATTR{idProduct}=="1010", MODE="666"
udev
with the following command sudo udevadm trigger
The api requires a hard coded basic authentication:
yo
yo
DEPRECATED
]/api/move
: (x, y required) turn to the given position and come back./api/shoot
: (x, y required) turn to the given position, shoot and come back.If the position is not accessible, a Bad request
error message will be returned.
After each movement the missile launcher gets back to its initial position.
Directory: ./src/cluster
Install dependencies: npm install
Run server: npm start
(use nodemon
) or node server
(use node
)
The api required a hard coded basic authentication:
username: rainstorm
password: rainstorm
[GET/POST] /api/users
: manage users.
[GET/POST/PUT/DELETE] /api/rainstorms
: manage rainstorms.
DEPRECATED
] (electron)It will be updated as soon as the cluster and the rainstorm layer are stable
node
npm
bower
./client
bower install && npm install
npm start