Wrestling software server for managing team matches and competitions.
Download the latest server version from the releases section
and extract it into e.g. inside $HOME/.local/share/wrestling_scoreboard_server
.
It is recommended to start the app with user privileges, here www
. Avoid using root
, especially if the server is open to the public.
Create file .env
in the wrestling_scoreboard_server
directory.
A pre-configuration can be found in .env.example
file (cp .env.example .env
). Change the values to your needs.
For a manual / more detailed setup of the Postgres database, see the database docs.
Execute the ./bin/wrestling-scoreboard-server
executable from within the wrestling_scoreboard_server
directory, to handle resource paths correctly.
nano $HOME/.config/systemd/user/wrestling-scoreboard-server.service
[Unit]
Description=Wrestling-Scoreboard-Server
[Service]
ExecStart=%h/.local/share/wrestling_scoreboard_server/bin/wrestling-scoreboard-server
WorkingDirectory=%h/.local/share/wrestling_scoreboard_server
Restart=on-failure
RestartSec=15
#User=www
#Group=www
[Install]
WantedBy=default.target
systemctl --user daemon-reload
systemctl --user enable wrestling-scoreboard-server.service
systemctl --user start wrestling-scoreboard-server.service
Additionally, enable session for user www
on boot:
sudo loginctl enable-linger www
To view server logs:
journalctl --user -u wrestling-scoreboard-server
If using Nginx as Reverse Proxy, you can take advantage of this config files.
dart compile exe bin/server.dart