source:
doc/app/executables/gnuboat-dev-deviceservice.rst@
b1f0e30
| Last change on this file since b1f0e30 was 8ab397c, checked in by , 6 years ago | |
|---|---|
|
|
| File size: 961 bytes | |
| Rev | Line | |
|---|---|---|
| [8b53868] | 1 | gnuboat-dev-deviceservice |
| 2 | ========================= | |
| 3 | ||
| 4 | Name | |
| 5 | ---- | |
| [8ab397c] | 6 | |
| 7 | **gnuboat-dev-deviceservice** - Runs the gnuboat device service (for | |
| 8 | development purposes only) | |
| [8b53868] | 9 | |
| 10 | Synopsis | |
| 11 | -------- | |
| [8ab397c] | 12 | |
| [8b53868] | 13 | **gnuboat-dev-deviceservice [-h]** |
| 14 | ||
| 15 | Description | |
| 16 | ----------- | |
| [8ab397c] | 17 | |
| 18 | In this mode, the deviceservice simulates entries to the rrd database. | |
| 19 | Therefore the webclient is fully functional, without the need of a GPS | |
| 20 | device or a NMEA2000 network. gnuboat-device-daemon is not needed for | |
| 21 | the same reason. | |
| [8b53868] | 22 | |
| 23 | To start it in development mode (with a demo SQLite database): | |
| 24 | ||
| [8ab397c] | 25 | If you want to test the interaction with a mapservice instance, run the |
| 26 | mapservice in development mode as mentioned below in parallel. | |
| [8b53868] | 27 | |
| [8ab397c] | 28 | Than go to http://localhost:8090 to visit the client or read the api |
| 29 | specification via http://localhost:8090/deviceservice/v1/ui/. | |
| [8b53868] | 30 | |
| 31 | Examples | |
| 32 | -------- | |
| [8ab397c] | 33 | |
| [8b53868] | 34 | .. code-block:: console |
| 35 | ||
| 36 | export FLASK_ENV='Development' | |
| 37 | gnuboat-dev-deviceservice | |
| 38 | ||
| 39 | See Also | |
| 40 | -------- | |
| [8ab397c] | 41 | |
| [8b53868] | 42 | * :doc:`gnuboat-dev-mapservice` |
Note:
See TracBrowser
for help on using the repository browser.
