README update for windows build instructions

This commit is contained in:
Dan Ballard 2021-11-08 17:18:36 -08:00
parent 52f7733a59
commit 92c6979b2b
1 changed files with 10 additions and 0 deletions

View File

@ -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