Chapter 13 Server Tools

These tools are only needed for running and maintaining the wildlife.systems webserver.

13.1 Installation

git clone git@github.com:Wildlife-Systems/wildlife.systems-tools.git
cd wildlife.systems-tools
./install
cp .ws-db.php ~/

#Edit ~/.ws-db.php to connect to the wildlife-systems database

13.2 Adding nodes and receieving a token

ws-node-add <node_id>

Adding a node by it’s ID (serial number of the Raspberry Pi) will add the device to the wildlife.systems database, generate a token, and display the token (a UUID) in the console. This token is used to authenticate the device when it sends data to wildlife.systems.

13.3 Removing a node

ws-node-remove <node_id>