ctbrec/client/src/main/resources/html/docs/RunningTheServer.md

11 lines
887 B
Markdown

How To Run The Server
=======================
The archive you downloaded contains a `server.bat` or `server.sh`, which can be used to start the server. On the first start, the server uses a default configuration. Once you terminate the server by pressing <kbd>ctrl</kbd> + <kbd>c</kbd>, the config is stored in your user home.
On Windows that is `C:\Users\{your user name}\AppData\Roaming\ctbrec\server.json`
On Linux it is `~/.config/ctbrec/server.json`
On macOS it is `/Users/{your user name}/Library/Preferences/ctbrec`
You can open this file in a text editor and change it to your likings. You probably only want to change httpPort and recordingsDir. Most of the other stuff is irrelevant since the server and CTB Recorder use the same config file format. When the server is running, you can connect to it with CTB Recorder by changing the setting "Record location" to "Remote".