Server Installation
Download
Download the latest TMS binary from the release page.
- Download the
tms.zip
file - Decompress this file and place somewhere memorable
- Run the application
tms_server.exe
inside the folder
- Download the
tms.tar.gz
file - Decompress this file and place somewhere memorable
- Run the application
./tms_server
inside the folder
Note
- You may need to right click
tms_server.exe
and run as administrator depending on the device permissions
- You may need to run the command
chmod +x ./tms_server
to allow the executable to be run - You may also need to run with
sudo
depending on the device permissions
Optional Parameters
An optional list of parameters can be added when running the executable. This can be used to configure TMS during runtime
Example
Parameter | Description | Default |
---|---|---|
--addr |
Modifies the address binding. | 0.0.0.0 |
--port |
Modifies the port in which TMS will run on. | 8080 |
--no-tls |
Switches the server from using HTTPS to the insecure HTTP for all communications. |
false |
--cert |
Specifies the location of the public certificate file used for TLS. | ./cert.pem |
--key |
Specifies the location of the private key used for TLS. | ./key.rsa |
Server Directory
Below lists the files, folders and their purpose in the directory.
File/Folder | Description |
---|---|
tms_server(.exe) |
Main executable. |
cert.pem |
Public certificate handed out to clients for connecting. |
key.rsa |
Private key used for decrypting messages sent from clients. |
log_config |
Folder containing the runtime log configuration (can be modified). |
logs |
Folder containing the logs from the server. |
logs/tms.log |
Logs from the core TMS server. |
logs/db.log |
Logs from the database. |
logs/mdns.log |
Logs from the mDNS broadcast service. |
tms.kvdb |
The key value database using sled storage, DO NOT MODIFY. |
backups |
Contains the compressed backups of the server. |
tms_client |
Contains the static web code hosted by the server. |