2019-05-15 12:26:56 -07:00
|
|
|
# JobServ
|
|
|
|
|
Remote Procedure Calls over the protobuf API
|
|
|
|
|
|
|
|
|
|
# Building
|
2019-05-17 12:28:22 -07:00
|
|
|
Gradle will manage dependencies, generate code, compile the java, and package the code.
|
|
|
|
|
Simply run the folllowing command:
|
|
|
|
|
```shell
|
|
|
|
|
$ gradle clean build
|
|
|
|
|
```
|
|
|
|
|
Gradle will package both the client and server into both a zip and a tarball.
|
|
|
|
|
The tarball is located in build/distributions. After extracting one of the archives on a target machine the following commands will run JobServ.
|
|
|
|
|
Make sure you are in the directory you extracted the archive to.
|
|
|
|
|
```shell
|
|
|
|
|
$ ./bin/jobserv-server
|
|
|
|
|
$ ./bin/jobserv-client (host) (port)
|
|
|
|
|
```
|
|
|
|
|
(TODO: seperate archives for client and server)
|
2019-05-15 12:26:56 -07:00
|
|
|
|
|
|
|
|
# Testing
|
2019-05-17 12:28:22 -07:00
|
|
|
(TODO: tests for mtls, job control module)
|