Device ====== The GNUBoat Device contains all components to log the data and interact with the user through a web interface. To do so, it consists of three components: * deviceservice: a webservice serving the webclient and connecting to the mapservice, if a network connection is available * gnuboat-daemon: The daemon queriing the NMEA2000 network and GPS dongle, storing the data to the log file and the rrd database, used by te deviceservice * The webclient as the user frontend for the gnuboat device. Actually it is served by deviceservice Production environment ---------------------- It is advised to install the provided debian package and configure it afterwards with help of the delivered puppet configuration. Development environment ----------------------- If not already done, you need to build and install the python module. Make sure, that all needed dependencies are installed. .. code-block:: console python setup.py install In this mode, the deviceservice simulates entries to the rrd database. Therefore the webclient is fully functional, without the need of a GPS device or a NMEA2000 network. gnuboat-device-daemon is not needed for the same reason. To start it in development mode see :doc:`../executables/gnuboat-dev-deviceservice`. If you want to test the interaction with a mapservice instance, run the mapservice in development mode as mentioned below in parallel. Than go to http://localhost:8090 to visit the client or read the api specification via http://localhost:8090/deviceservice/v1/ui/.