bugfixes and updated go.mod
This commit is contained in:
parent
9424084a36
commit
6e317eb08b
300 changed files with 53136 additions and 9719 deletions
20
README.md
20
README.md
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
## Building
|
||||
|
||||
**Requirenments:**
|
||||
|
||||
* Go (golang) >= 1.12
|
||||
|
||||
Linux:
|
||||
|
||||
```
|
||||
|
|
@ -25,3 +29,19 @@ GOOS=openbsd make vendor
|
|||
## Install
|
||||
|
||||
See the `scripts/` directory on how to install gowiki on Linux or OpenBSD.
|
||||
|
||||
## Config
|
||||
|
||||
```
|
||||
{
|
||||
"data_dir": "/var/lib/gowiki", // running directory. data will be stored here
|
||||
"user": "wiki", // drop privileges to user
|
||||
"group": "wiki", // drop privileges to group
|
||||
"listen_addr": "127.0.0.1:8080", // listening <address>:<port>
|
||||
"log_file": "gowiki.log", // log file (use - for stdout, this only works in combination with 'foreground: true')
|
||||
"secret": "", // static hmac secret (at least 64 chars, used for JWT signing)
|
||||
"foreground": false, // do not fork into the background
|
||||
"secure_cookie": false, // enable secure cookie flag
|
||||
"debug": false // enable debugging
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue