mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
updated usage example
This commit is contained in:
parent
1dffddbee3
commit
315544138c
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
||||
SHELL := /bin/bash
|
||||
|
||||
options:
|
||||
echo "you can clean | test | build | build-arch | run | package"
|
||||
echo "you can clean | test | build | build-arch | package"
|
||||
clean:
|
||||
rm -fv bin/contentserve*
|
||||
build: clean
|
||||
@ -12,4 +12,4 @@ build-arch: clean
|
||||
package: build
|
||||
pkg/build.sh
|
||||
test:
|
||||
go test -v github.com/foomo/contentserver/server/repo
|
||||
go test ./...
|
||||
|
||||
15
README.md
15
README.md
@ -47,12 +47,15 @@ Usage
|
||||
|
||||
```
|
||||
$ contentserver --help
|
||||
|
||||
Usage of bin/contentserver:
|
||||
-address="127.0.0.1:8081": address to bind host:port
|
||||
-logLevel="record": one of error, record, warning, notice, debug
|
||||
-protocol="tcp": what protocol to server for
|
||||
-vardir="127.0.0.1:8081": where to put my data
|
||||
Usage of contentserver:
|
||||
-address string
|
||||
address to bind host:port (default "127.0.0.1:8081")
|
||||
-log-level string
|
||||
one of error, record, warning, notice, debug (default "record")
|
||||
-var-dir string
|
||||
where to put my data (default "/var/lib/contentserver")
|
||||
-version
|
||||
version info
|
||||
```
|
||||
|
||||
License
|
||||
|
||||
Loading…
Reference in New Issue
Block a user