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

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

Improved and adapted documentation for angular 11 and angular cli build

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[8b53868]1Device
[8ab397c]2======
[8b53868]3
[8ab397c]4The GNUBoat Device contains all components to log the data and interact with
5the user through a web interface. To do so, it consists of three components:
[8b53868]6
[8ab397c]7* deviceservice: a webservice serving the webclient and connecting to the
8 mapservice, if a network connection is available
9* gnuboat-daemon: The daemon queriing the NMEA2000 network and GPS dongle,
10 storing the data to the log file and the rrd database, used by te
11 deviceservice
12* The webclient as the user frontend for the gnuboat device. Actually it is
13 served by deviceservice
[8b53868]14
15Production environment
16----------------------
17
[8ab397c]18It is advised to install the provided debian package and configure it
19afterwards with help of the delivered puppet configuration.
[8b53868]20
21Development environment
22-----------------------
23
[8ab397c]24If not already done, you need to build and install the python module.
25Make sure, that all needed dependencies are installed.
[8b53868]26
[8ab397c]27.. code-block:: console
[8b53868]28
[8ab397c]29 python setup.py install
[8b53868]30
[8ab397c]31In this mode, the deviceservice simulates entries to the rrd database.
32Therefore the webclient is fully functional, without the need of a GPS
33device or a NMEA2000 network. gnuboat-device-daemon is not needed for the
34same reason.
35
36To start it in development mode see
37:doc:`../executables/gnuboat-dev-deviceservice`.
38
39If you want to test the interaction with a mapservice instance, run the
40mapservice in development mode as mentioned below in parallel.
41
42Than go to http://localhost:8090 to visit the client or read the api
43specification via http://localhost:8090/deviceservice/v1/ui/.
Note: See TracBrowser for help on using the repository browser.