Changeset 8b4d7ab for README.md


Ignore:
Timestamp:
May 4, 2020, 9:01:39 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
b43efc1
Parents:
91c5ab7
Message:

Improved the README

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r91c5ab7 r8b4d7ab  
    1313On top there is a module with common stuff.
    1414
     15## Interoperability
     16
     17GNUBoat is fully open sourced and free software. To be as interoperable as possible,
     18it is designed with a webservice architecture utilizing OpenAPI specifications. This
     19specification describes the interfaces provided by the webservices and used by the clients
     20in a human readable, but machine parseable way. So any other service or client could be
     21easily integrated in the GNUBoat environment. **We like to happliy welcome any new clients and services!**
     22You find the API descriptions in the _api_ folder of this repository or via the integrated
     23swagger-editor within the webservices. Just call the e.g. [http://localhost:8080/mapservice/v1/ui/]
     24after starting the mapservice in development mode like described below. If you have any
     25questions, your welcome to contact us.
     26
    1527## Installing the modules
    1628
    … …  
    1931
    2032```
    21 buildhelpers/code_generator # to generade the server stub
     33buildhelpers/configure      # to generade the all modules from the API specs
    2234python setup.py install     # to install the module
    2335```
    … …  
    2537## GNUBoat Device
    2638
     39The GNUBoat Device contains all components to log the data and interact with the
     40user through a web interface. To do so, it consists of three components:
     41- deviceservice: a webservice serving the webclient and connecting to the mapservice, if
     42  a network connection is available
     43- gnuboat-daemon: The daemon queriing the NMEA2000 network and GPS dongle, storing the
     44  data to the log file and the rrd database, used by te deviceservice
     45- The webclient as the user frontend for the gnuboat device. Actually it is served by
     46  deviceservice
     47
     48### Production environment
     49
     50It is advised to install the provided debian package and configure it afterwards
     51with help of the delivered puppet configuration.
     52
     53### Development environment
     54
     55In this mode, the deviceservice simulates entries to the rrd database. Therefore
     56the webclient is fully functional, without the need of a GPS device or a NMEA2000
     57network. gnuboat-device-daemon is not needed for the same reason.
     58
     59To start it in development mode (with a demo SQLite database):
     60```
     61export FLASK_ENV='Development'
     62gnuboat-dev-deviceservice
     63```
     64
     65If you want to test the interaction with a mapservice instance, run the mapservice
     66in development mode as mentioned below in parallel.
     67
     68Than go to [http://localhost:8090] to visit the client or read the api specification
     69via [http://localhost:8090/deviceservice/v1/ui/].
     70
    2771## GNUBoat mapservice
    2872
    29 ### Development mode
     73### Production environment
     74
     75It is advised to install the provided debian package and configure it afterwards
     76with help of the delivered puppet configuration.
     77
     78### Development environment
    3079
    3180To start it in development mode (with a demo SQLite database):
    … …  
    4897```
    4998
     99You maay access the api specification via [http://localhost:8090/deviceservice/v1/ui/] now.
     100
    50101## GNUBoat mapservice-webclient
    51102
    … …  
    55106```
    56107Please start the mapservice also and than visit [http://localhost:8001] in your browser.
     108If you started `gnuboat-dev-mapservice` in development mode, as described above, you can
     109login with user _jane_ and _testpass_.
    57110
    58111## GNUBoat common
    … …  
    62115- gnuboat-log-analyser: creates raster tiles out of logfiles
    63116- gnuboat-log-uploader: uploads logfiles to the mapservice
     117
     118All scripts display a help with _--help_ and have a manpage with additional information about their usage.
    64119
    65120## Additional Resources
Note: See TracChangeset for help on using the changeset viewer.