2022-08-18 09:45:41 -04:00
|
|
|
# MINH_CORD
|
|
|
|
|
2023-12-15 00:54:31 +00:00
|
|
|
A wannabe discord clone but currently only support chatting via TCP sockets with the help of `tokio` Rust async runtime.
|
2022-08-18 09:45:41 -04:00
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
- `rust`
|
|
|
|
- `telnet`
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
- Run `cargo build` at project root to build the binary.
|
|
|
|
|
|
|
|
## Running
|
2022-08-18 20:06:12 -04:00
|
|
|
### Development
|
|
|
|
- Run the server with `cargo run` or `RUST_LOG=debug cargo run` to run with debug.
|
|
|
|
### Production
|
2022-08-19 15:39:15 -04:00
|
|
|
- Run the binary with `./minh_cord`.
|
2022-08-18 09:45:41 -04:00
|
|
|
|
|
|
|
## Connecting to the server
|
2022-08-18 20:06:12 -04:00
|
|
|
- Run the server with the above commands.
|
2022-08-19 15:39:15 -04:00
|
|
|
- Run `telnet {SERVER_INTERNAL_IP_ADDRESS}` from a client to connect to the server.
|