Welcome to the Chitty-Chat project. This is developed following the course Distributed Systems at ITU.
This section will tell you how to start the Chitty-Chat server.
Build the Chitty-Chat server docker container.
$ docker build . -t chitty-chat-server
...
[+] Building 10.0s (22/22) FINISHED
...Run the docker container.
$ docker run chitty-chat-server
2024/10/26 20:52:41 server is listening on [::]:8080Clone the repository and run it using the Go CLI.
git clone https://github.com/kanerix/chitty-chatUse the Go CLI to start the server.
$ go run ./cmd/grpc
2024/10/26 20:52:41 server is listening on [::]:8080OPTIONAL: You can also use make to do the same.
$ make grpc-serve
2024/10/26 20:52:41 server is listening on [::]:8080This section will tell you how to install and use the client.
Install the chitty client from the github repository.
go install github.com/kanerix/chitty-chat/cmd/chittyUse the CLI to connect to the server.
# chitty chat -u [username] -H [hostname]
chitty chat -u Kanerix -H localhost:8080Clone the repository and run it using the Go CLI.
git clone https://github.com/kanerix/chitty-chatRun the CLI with a username and optional hostname (default localhost:8080).
# go run ./cmd/chitty -u [username] -H [hostname]
go run ./cmd/chitty -u kanerix -H localhost:8080If you need any help, you can use the --help flag.
chitty chat --help