To compile the code simply use make. Then to run the server
./main -c --root <PATH TO WEBSERVICE PKG ROOT> --config <PATH TO CONFIG FILE>
where -c is used to print the logs to the standard output. If the path
to the web-service package root directory is stored in the environmental
variable GVIEW_ROOT, then specifying --root is not needed. Moreover, if you
would like to use the default configuration --config can be omitted, leaving
./main -c
If the postgres database requires user name and password then both
DB_UNAME and DB_PASSWD, respectively, environmental variables
need to be set.
This code has been reviewed by Claude, the AI assistant from Anthropic. The code was designed and implemented by Robert Vogel, code recommendations that were provided by Claude were adapted and implemented by Robert Vogel.