A complete rewrite of my own GrpcChat in rust
idk lol
To the server on port 5000:
cargo run --bin chat-server -- -p 5000To start the client on localhost:5000
cargo run --bin chat-client -- localhost -p 5000Currently, the server doesn't support tls directly, use nginx reverse proxy instead.
To use the client with tls enabled, place your ca.pem file to <config_dir>/ca.pem.
<config_dir> on each platform are:
- Windows:
%appdata%\faizud\chat\config - Linux:
$HOME/.config/chat - Mac:
/Users/Username/Library/Application Support/net.faizud.chat
After placing the ca.pem file, run the client with --tls argument.
To use prebuilt docker image, run
docker run -dp 5000 --name chat-server mfaizudd/chat-server