Changeset 8b4d7ab
- Timestamp:
- May 4, 2020, 9:01:39 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- b43efc1
- Parents:
- 91c5ab7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README.md
r91c5ab7 r8b4d7ab 13 13 On top there is a module with common stuff. 14 14 15 ## Interoperability 16 17 GNUBoat is fully open sourced and free software. To be as interoperable as possible, 18 it is designed with a webservice architecture utilizing OpenAPI specifications. This 19 specification describes the interfaces provided by the webservices and used by the clients 20 in a human readable, but machine parseable way. So any other service or client could be 21 easily integrated in the GNUBoat environment. **We like to happliy welcome any new clients and services!** 22 You find the API descriptions in the _api_ folder of this repository or via the integrated 23 swagger-editor within the webservices. Just call the e.g. [http://localhost:8080/mapservice/v1/ui/] 24 after starting the mapservice in development mode like described below. If you have any 25 questions, your welcome to contact us. 26 15 27 ## Installing the modules 16 28 … … 19 31 20 32 ``` 21 buildhelpers/co de_generator # to generade the server stub33 buildhelpers/configure # to generade the all modules from the API specs 22 34 python setup.py install # to install the module 23 35 ``` … … 25 37 ## GNUBoat Device 26 38 39 The GNUBoat Device contains all components to log the data and interact with the 40 user 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 50 It is advised to install the provided debian package and configure it afterwards 51 with help of the delivered puppet configuration. 52 53 ### Development environment 54 55 In this mode, the deviceservice simulates entries to the rrd database. Therefore 56 the webclient is fully functional, without the need of a GPS device or a NMEA2000 57 network. gnuboat-device-daemon is not needed for the same reason. 58 59 To start it in development mode (with a demo SQLite database): 60 ``` 61 export FLASK_ENV='Development' 62 gnuboat-dev-deviceservice 63 ``` 64 65 If you want to test the interaction with a mapservice instance, run the mapservice 66 in development mode as mentioned below in parallel. 67 68 Than go to [http://localhost:8090] to visit the client or read the api specification 69 via [http://localhost:8090/deviceservice/v1/ui/]. 70 27 71 ## GNUBoat mapservice 28 72 29 ### Development mode 73 ### Production environment 74 75 It is advised to install the provided debian package and configure it afterwards 76 with help of the delivered puppet configuration. 77 78 ### Development environment 30 79 31 80 To start it in development mode (with a demo SQLite database): … … 48 97 ``` 49 98 99 You maay access the api specification via [http://localhost:8090/deviceservice/v1/ui/] now. 100 50 101 ## GNUBoat mapservice-webclient 51 102 … … 55 106 ``` 56 107 Please start the mapservice also and than visit [http://localhost:8001] in your browser. 108 If you started `gnuboat-dev-mapservice` in development mode, as described above, you can 109 login with user _jane_ and _testpass_. 57 110 58 111 ## GNUBoat common … … 62 115 - gnuboat-log-analyser: creates raster tiles out of logfiles 63 116 - gnuboat-log-uploader: uploads logfiles to the mapservice 117 118 All scripts display a help with _--help_ and have a manpage with additional information about their usage. 64 119 65 120 ## Additional Resources
Note:
See TracChangeset
for help on using the changeset viewer.
