blob: 03402b440e4a337b79e72fd2c73b6a6f8e1ccbfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# docspace
A server for hosting files for different users.
## Build
To build, install go and a gcc compiler and run:
CGO_ENABLED=1 go build
If you're using musl instead of glibc:
CGO_ENABLED=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go build
## Usage
Usage of ./docspace:
-d string
the db to connect to (default "./db/test.db")
-f string
the path of the docs folder (default "docs")
-p int
the port to bind to (default 8080)
|