Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/app/components/device.rst

    r8b53868 r8ab397c  
    11Device
    2 ==============
     2======
    33
    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:
     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:
    66
    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
    1014
    1115Production environment
    1216----------------------
    1317
    14 It is advised to install the provided debian package and configure it afterwards
    15 with help of the delivered puppet configuration.
     18It is advised to install the provided debian package and configure it
     19afterwards with help of the delivered puppet configuration.
    1620
    1721Development environment
    1822-----------------------
    1923
    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.
     24If not already done, you need to build and install the python module.
     25Make sure, that all needed dependencies are installed.
    2326
    24 To start it in development mode see :doc:`../executables/gnuboat-dev-deviceservice`.
     27.. code-block:: console
    2528
    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
    2830
    29 Than go to [http://localhost:8090] to visit the client or read the api specification
    30 via [http://localhost:8090/deviceservice/v1/ui/].
     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 TracChangeset for help on using the changeset viewer.