API documentation is here
The server is written in Go and tries to stick to the standard library as much as possible, with a few exceptions, such as gorilla/mux. PostgreSQL is used as the database server, which is configured by the installer with the database layout below.
WIP
-
Download the correct version for your OS from the release section
-
Install
postgresql
and optionallyscreen
with your package manager -
Run trackmon_db_setup.sh on the computer where you want to install the database:
- The setup assumes that the database server is the same as the server where you want to install trackmon! If this is not the case, you have to configure postgreSQL to accept connections from the network. You can do this by changing these files:
pg_hba.conf
:host all all 0.0.0.0/0 md5
postgresql.conf
listen_addresses='*'
- After that you simply run
service postgresql restart
and you should be good to go. Do not forget to change trackmon servers configfile to your database location. Do not do this if the database is on the same machine as trackmon!
- The setup assumes that the database server is the same as the server where you want to install trackmon! If this is not the case, you have to configure postgreSQL to accept connections from the network. You can do this by changing these files:
-
Generate trackmon servers configfile by starting trackmon with the
-createconf
flag. There should be atrackmonserv.conf
file in the directory. If the database is not on the same device, you have to edit the configfile. -
Start trackmon server. It is recommended that you do this inside a screen (or similar) so that the server continues to run when you close the session.