aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2024-09-08 04:18:41 +0200
committerJulian Hurst <ark@mansus.space>2024-09-09 17:59:36 +0200
commit0f3f50b858efefbc35e20015adcd7345eaf496c6 (patch)
treed67e6ea3bdd6397dacd3000520219bb4846218a6 /README.md
parent635b5da0768d912a7ddf8a3f1ddc6bb8f8865a45 (diff)
downloaddocspace-0f3f50b858efefbc35e20015adcd7345eaf496c6.tar.gz
Add readme1.0.0prod
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..03402b4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,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)