Ignore:
File:
1 edited

Legend:

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

    r8ab397c r8b53868  
    11Device
    2 ======
     2==============
    33
    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:
     4The GNUBoat Device contains all components to log the data and interact with the
     5user through a web interface. To do so, it consists of three components:
    66
    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
    1410
    1511Production environment
    1612----------------------
    1713
    18 It is advised to install the provided debian package and configure it
    19 afterwards with help of the delivered puppet configuration.
     14It is advised to install the provided debian package and configure it afterwards
     15with help of the delivered puppet configuration.
    2016
    2117Development environment
    2218-----------------------
    2319
    24 If not already done, you need to build and install the python module.
    25 Make sure, that all needed dependencies are installed.
     20In this mode, the deviceservice simulates entries to the rrd database. Therefore
     21the webclient is fully functional, without the need of a GPS device or a NMEA2000
     22network. gnuboat-device-daemon is not needed for the same reason.
    2623
    27 .. code-block:: console
     24To start it in development mode see :doc:`../executables/gnuboat-dev-deviceservice`.
    2825
    29   python setup.py install
     26If you want to test the interaction with a mapservice instance, run the mapservice
     27in development mode as mentioned below in parallel.
    3028
    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/.
     29Than go to [http://localhost:8090] to visit the client or read the api specification
     30via [http://localhost:8090/deviceservice/v1/ui/].
Note: See TracChangeset for help on using the changeset viewer.