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
|
SHELL := /bin/bash
|
||||||
|
|
||||||
options:
|
options:
|
||||||
echo "you can clean | test | build | build-arch | run | package"
|
echo "you can clean | test | build | build-arch | package"
|
||||||
clean:
|
clean:
|
||||||
rm -fv bin/contentserve*
|
rm -fv bin/contentserve*
|
||||||
build: clean
|
build: clean
|
||||||
@ -12,4 +12,4 @@ build-arch: clean
|
|||||||
package: build
|
package: build
|
||||||
pkg/build.sh
|
pkg/build.sh
|
||||||
test:
|
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
|
$ contentserver --help
|
||||||
|
Usage of contentserver:
|
||||||
Usage of bin/contentserver:
|
-address string
|
||||||
-address="127.0.0.1:8081": address to bind host:port
|
address to bind host:port (default "127.0.0.1:8081")
|
||||||
-logLevel="record": one of error, record, warning, notice, debug
|
-log-level string
|
||||||
-protocol="tcp": what protocol to server for
|
one of error, record, warning, notice, debug (default "record")
|
||||||
-vardir="127.0.0.1:8081": where to put my data
|
-var-dir string
|
||||||
|
where to put my data (default "/var/lib/contentserver")
|
||||||
|
-version
|
||||||
|
version info
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user