source: doc/app/components/device.rst@ e90dce0

debian/bullseye
Last change on this file since e90dce0 was 8b53868, checked in by Joachim Langenbach <joachim.langenbach@…>, 6 years ago

Added sphinx documentation also for manpages. Therefore removed old manpages

  • Property mode set to 100644
File size: 1.3 KB

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

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/].

Note: See TracBrowser for help on using the repository browser.