22 lines
535 B
Markdown
22 lines
535 B
Markdown
# 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 .`
|