Changes in doc/app/components/device.rst [8ab397c:8b53868]
- File:
-
- 1 edited
-
doc/app/components/device.rst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/app/components/device.rst
r8ab397c r8b53868 1 1 Device 2 ====== 2 ============== 3 3 4 The GNUBoat Device contains all components to log the data and interact with 5 theuser 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 the 5 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 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 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 14 10 15 11 Production environment 16 12 ---------------------- 17 13 18 It is advised to install the provided debian package and configure it 19 afterwardswith help of the delivered puppet configuration.14 It is advised to install the provided debian package and configure it afterwards 15 with help of the delivered puppet configuration. 20 16 21 17 Development environment 22 18 ----------------------- 23 19 24 If not already done, you need to build and install the python module. 25 Make sure, that all needed dependencies are installed. 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. 26 23 27 .. code-block:: console 24 To start it in development mode see :doc:`../executables/gnuboat-dev-deviceservice`. 28 25 29 python setup.py install 26 If you want to test the interaction with a mapservice instance, run the mapservice 27 in development mode as mentioned below in parallel. 30 28 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/. 29 Than go to [http://localhost:8090] to visit the client or read the api specification 30 via [http://localhost:8090/deviceservice/v1/ui/].
Note:
See TracChangeset
for help on using the changeset viewer.
