- connector -> Wraps authentication, SDE and EVE-API in one project and exposes them as a single library
- server -> Contains the API for the web application
- web -> Web-Application
- evemon_to_json -> Converts a evemon file to a json file TODO: rename, rewrite or delete
TODO
- Setup Postgres, tested version is 13.x
- Execute the sql script in
./sql/tables.sql - Run
make muslto compile the collector and server binaries - Create a folder
/opt/caph/and copy thetarget/x86_64-unknown-linux-musl/release/caph_collectorandtarget/x86_64-unknown-linux-musl/release/caph_serverinto the folder - Copy
./collector/systemd.serviceand./server/systemd.serviceinto/usr/lib/systemd/system-> rename the files to something unique - In both systemd files there are env variables that need to be set
SERVER_BIND_ADDR-> Address the server should bind to. Default:127.0.0.1:8080COLLECTOR_ADDR-> Address the collector listen. OptionalDATABASE_URL-> Database connection stringEVE_USER_AGENT-> User agent that is set with every request to the EVE-APIEVE_CALLBACK-> Callback after login, set when creating the applicationEVE_CLIENT_ID-> Client ID provided by EVE when creating the applicationEVE_SECRET_KEY-> Client ID provided by EVE when creating the applicationEVEPRAISAL_USER_AGENT-> User-Agent for contactinghttps://evepraisal.com/. More information under Evepraisal APIJANICE_USER_AGENT-> User-Agent for contactinghttps://janice.e-351.com/, this value is optional unlessJANICE_API_KEYis set. More information under Janice APIJANICE_USER_AGENT-> Optional, API-Key forhttps://janice.e-351.com. If the API-Key is set, janice will be prefered over evepraisalREDIRECT-> Redirect after the user logged in. Default:http://localhost:8080
TODO
TODO