Go to file
Sarah Jamie Lewis 4ae47d9253 Merge pull request 'serverConfig mkdirall' (#21) from fixMacMake into trunk
Reviewed-on: #21
2021-11-05 20:02:44 +00:00
app server need .Stop() and .Destroy() 2021-11-01 15:07:53 -07:00
docker change -exportTofuBundle to -exportServerBundle 2021-10-29 16:06:18 -07:00
metrics rewire in message count metrics 2021-08-17 09:51:10 -07:00
storage adding 'servers' interface to manage multiple servers and support for encrypted configs 2021-10-04 16:21:41 -07:00
testing fix tests.sh 2021-11-01 09:00:41 -07:00
.gitignore Replace legacy message store with sqlite3 message store 2021-05-07 12:29:31 -07:00
README.md Merge pull request 'adding 'servers' interface to manage multiple servers and support for encrypted configs' (#16) from servers into trunk 2021-11-01 16:01:12 +00:00
go.mod addressing PR concerns + adding servers test 2021-10-29 17:46:34 -07:00
go.sum addressing PR concerns + adding servers test 2021-10-29 17:46:34 -07:00
server.go clean up: locks, set key in order to support delete 2021-11-03 21:10:40 -07:00
serverConfig.go serverConfig mkdirall 2021-11-05 13:01:17 -07:00
server_tokenboard.go adding 'servers' interface to manage multiple servers and support for encrypted configs 2021-10-04 16:21:41 -07:00
servers.go clean up: locks, set key in order to support delete 2021-11-03 21:10:40 -07:00
servers_test.go server need .Stop() and .Destroy() 2021-11-01 15:07:53 -07:00

README.md

Cwtch Server

Running

  • cd app
  • go build
  • ./app

The app takes the following arguments

  • -debug: enabled debug logging
  • -exportServerBundle: Export the server bundle to a file called serverbundle

The app takes the following environment variables

  • CWTCH_HOME: sets the config dir for the app

env CONFIG_HOME=./conf ./app

Using the Server

When run the app will output standard log lines, one of which will contain the tofubundle in purple. This is the part you need to capture and import into a Cwtch client app so you can use the server for hosting groups

Docker

Build by executing docker build -f docker/Dockerfile .

or run our prebuild ones with

pull openpriv/cwtch-server

and run it. It stores all Cwtch data in a Volume at /var/lib/cwtch