Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Serving Data

Initialized databases (init or load), can be served over HTTP using the serve command.

tentris serve

By default, the server is accessible at http://localhost:9080/.

Specifying the IP address and port

The address and the port that Tentris binds to can be specified in the command-line or in the configuration file.

Note: The command-line has a higher priority than the config file.

Command line

tentris serve 127.0.0.1:8888

Config file

my-config.toml

[serve]
bind-address = "127.0.0.1:8888"
tentris --config my-config.toml serve

For the endpoints that the server makes available, please refer to the chapters SPARQL Endpoints and Additional Endpoints.