Update README
This commit is contained in:
parent
6f1364f1d3
commit
ce15e64150
23
README.md
23
README.md
|
@ -23,7 +23,7 @@ Make sure you're pointing to the right openssl installation (e.g. macOS provides
|
|||
### Step 2: Build the project
|
||||
|
||||
```
|
||||
cargo build
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
The Linux Rust installer assumes that you already have a C linker installed. If this is not the case you'll see `error: linker 'cc' not found`. To fix this, run:
|
||||
|
@ -36,5 +36,24 @@ sudo apt install build-essential
|
|||
### Step 3: Run it
|
||||
|
||||
```
|
||||
cargo run --release
|
||||
./target/release/session-open-group-server
|
||||
```
|
||||
|
||||
**Command line arguments:**
|
||||
|
||||
| Command | Default | Description |
|
||||
| ------------------ |:----------------------:| -------------------------- |
|
||||
| x25519-public-key | x25519_public_key.pem | Path to X25519 public key |
|
||||
| x25519-private-key | x25519_private_key.pem | Path to X25519 private key |
|
||||
| port | 80 | Port to bind to |
|
||||
| host | 0.0.0.0 | IP to bind to |
|
||||
|
||||
If you want to run with TLS enabled:
|
||||
|
||||
| Command | Default | Description |
|
||||
| --------------- |:-------------------:| ----------------------- |
|
||||
| tls | false | Run in TLS mode |
|
||||
| tls-certificate | tls_certificate.pem | Path to TLS certificate |
|
||||
| tls-private-key | tls_private_key.pem | Path to TLS private key |
|
||||
|
||||
Note that the default is * not * to run in TLS mode. This is because normally the server communicates through onion requests, eliminating the need for TLS.
|
||||
|
|
Loading…
Reference in New Issue