Go to file
Dan Ballard e5b760b77e Merge pull request 'Adds a multi-stage docker file to resolve #6' (#10) from NetworkString/server:add-multistage-dockerfile into trunk
Reviewed-on: #10
2021-08-17 16:58:51 +00:00
app make all config and writeable files respect configDir/CWTCH_HOME 2021-08-10 13:07:55 -07:00
docker Tidy up comments 2021-08-10 22:11:18 +01:00
metrics rewire in message count metrics 2021-08-17 09:51:10 -07:00
storage rewire in message count metrics 2021-08-17 09:51:10 -07:00
testing Initial Copy over from Cwtch 2021-05-07 11:36:34 -07:00
.gitignore Replace legacy message store with sqlite3 message store 2021-05-07 12:29:31 -07:00
README.md Add Dockerfile 2021-08-09 22:32:30 +01:00
go.mod explicitly disallow empty signatures 2021-06-02 12:28:07 -07:00
go.sum explicitly disallow empty signatures 2021-06-02 12:28:07 -07:00
server.go rewire in message count metrics 2021-08-17 09:51:10 -07:00
serverConfig.go Initial Copy over from Cwtch 2021-05-07 11:36:34 -07:00
server_tokenboard.go Fix infinite loop on fresh server 2021-06-04 10:44:26 -07:00

README.md

Cwtch Server

Running

  • cd app
  • go build
  • ./app

The app takes the following arguments

  • -debug: enabled debug logging

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 .