From 92c6979b2b5d07e24e7bbce5656971800051bbf0 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Mon, 8 Nov 2021 17:18:36 -0800 Subject: [PATCH] README update for windows build instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 80d0d56..5943ac8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Cwtch Server +## Building + +Pretty straight forward: +- build the app in `app/` with `go build` +- build the docker container in `docker/` with `docker build . -t openpriv/server` + +### Windows + +The server package relies on sqlite which in turn requires the use of CGO. As per [this issue](https://github.com/golang/go/issues/12029) that means [TDM-GCC](https://jmeubank.github.io/tdm-gcc/download/) is required to be installed and used to compile on Windows + ## Running - cd app