Changeset 8ab397c for doc/app/components/device.rst
- Timestamp:
- Feb 7, 2021, 12:16:17 PM (6 years ago)
- Branches:
- debian/bullseye, master
- Children:
- b1f0e30
- Parents:
- 4c267d7
- File:
-
- 1 edited
-
doc/app/components/device.rst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/app/components/device.rst
r4c267d7 r8ab397c 1 1 Device 2 ====== ========2 ====== 3 3 4 The GNUBoat Device contains all components to log the data and interact with the5 user through a web interface. To do so, it consists of three components:4 The GNUBoat Device contains all components to log the data and interact with 5 the user through a web interface. To do so, it consists of three components: 6 6 7 * deviceservice: a webservice serving the webclient and connecting to the mapservice, if a network connection is available 8 * 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 9 * The webclient as the user frontend for the gnuboat device. Actually it is served by deviceservice 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 10 14 11 15 Production environment 12 16 ---------------------- 13 17 14 It is advised to install the provided debian package and configure it afterwards15 with help of the delivered puppet configuration.18 It is advised to install the provided debian package and configure it 19 afterwards with help of the delivered puppet configuration. 16 20 17 21 Development environment 18 22 ----------------------- 19 23 20 In this mode, the deviceservice simulates entries to the rrd database. Therefore 21 the webclient is fully functional, without the need of a GPS device or a NMEA2000 22 network. gnuboat-device-daemon is not needed for the same reason. 24 If not already done, you need to build and install the python module. 25 Make sure, that all needed dependencies are installed. 23 26 24 To start it in development mode see :doc:`../executables/gnuboat-dev-deviceservice`. 27 .. code-block:: console 25 28 26 If you want to test the interaction with a mapservice instance, run the mapservice 27 in development mode as mentioned below in parallel. 29 python setup.py install 28 30 29 Than go to [http://localhost:8090] to visit the client or read the api specification 30 via [http://localhost:8090/deviceservice/v1/ui/]. 31 In this mode, the deviceservice simulates entries to the rrd database. 32 Therefore the webclient is fully functional, without the need of a GPS 33 device or a NMEA2000 network. gnuboat-device-daemon is not needed for the 34 same reason. 35 36 To start it in development mode see 37 :doc:`../executables/gnuboat-dev-deviceservice`. 38 39 If you want to test the interaction with a mapservice instance, run the 40 mapservice in development mode as mentioned below in parallel. 41 42 Than go to http://localhost:8090 to visit the client or read the api 43 specification via http://localhost:8090/deviceservice/v1/ui/.
Note:
See TracChangeset
for help on using the changeset viewer.
