You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Dan Ballard 206b5782ae refactor to a more usable base for servers/serverConfig 7 months ago
app refactor to a more usable base for servers/serverConfig 7 months ago
docker Tidy up comments 10 months ago
metrics rewire in message count metrics 9 months ago
storage adding 'servers' interface to manage multiple servers and support for encrypted configs 8 months ago
testing Initial Copy over from Cwtch 1 year ago
.gitignore Replace legacy message store with sqlite3 message store 1 year ago
README.md adding 'servers' interface to manage multiple servers and support for encrypted configs 8 months ago
go.mod refactor to a more usable base for servers/serverConfig 7 months ago
go.sum refactor to a more usable base for servers/serverConfig 7 months ago
server.go refactor to a more usable base for servers/serverConfig 7 months ago
serverConfig.go refactor to a more usable base for servers/serverConfig 7 months ago
server_tokenboard.go adding 'servers' interface to manage multiple servers and support for encrypted configs 8 months ago
servers.go refactor to a more usable base for servers/serverConfig 7 months ago

README.md

Cwtch Server

Running

  • cd app
  • go build
  • ./app

The app takes the following arguments

  • -debug: enabled debug logging
  • -exportTofuBundle: Export the tofubundle to a file called tofubundle

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