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.
 
 
 
Go to file
Dan Ballard e7499ee9fb
mention openpriv/cwtch-server in README under docker
2 years ago
app make all config and writeable files respect configDir/CWTCH_HOME 2 years ago
docker Tidy up comments 2 years ago
metrics rewire in message count metrics 2 years ago
storage rewire in message count metrics 2 years ago
testing Initial Copy over from Cwtch 2 years ago
.gitignore Replace legacy message store with sqlite3 message store 2 years ago
README.md mention openpriv/cwtch-server in README under docker 2 years ago
go.mod upgrade struCoder/pidusage specifically for openBSD fix 2 years ago
go.sum upgrade struCoder/pidusage specifically for openBSD fix 2 years ago
server.go rewire in message count metrics 2 years ago
serverConfig.go Initial Copy over from Cwtch 2 years ago
server_tokenboard.go Fix infinite loop on fresh server 2 years 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

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