diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-02 12:22:33 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-02 12:22:33 -0400 |
| commit | bdbf39219bc5c16cdbbbd1d5a227edd87d56b34a (patch) | |
| tree | 2fb91287cb4348e4279b64fc3283c719bed947a3 /README.md | |
| parent | 7e8ad97094fbd7753116254f1021f96447e4ec9c (diff) | |
Add README with instructions
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..f223a2c --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# Nonsense Time + +Back-end for Nonsense Time campaign + +## Building + +Tested for go1.23 `linux/amd64` and `darwin/amd64` + +``` +make build +``` + +## Installation + +``` +make install +``` + +## Running + +The server can be started via the `nonsense-time` binary. +It accepts the following options: + +``` +-p <PORT> default 8080 + server listening port +-b <BIND_ADDRESS> default 0.0.0.0 + network address to bind to +-w <WAIT_TIME> default 2 seconds + maximum wait time for timed requests +-v + verbose output +``` + +## SystemD Service + +A SystemD service is provided but not installed by default. |
