Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
idavydoff committed Apr 8, 2023
1 parent 0354a2b commit 99e9598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Chat service written in Rust. Includes server and client applications.
![demo](https://drop.davy.page/hRMXlkDN/Mar-01-2023%2013-44-04.gif)

## How to run the terminal chat server?
The easiest way to do it is to build a docker image and then run it. There's already a [ready-to-use Dockerfile](https://github.com/IDSaves/terminal-chat/blob/master/server/Dockerfile) so you just go with a `docker build -t <imagegame> .` inside a server's directory. After you built a docker image just type in docker run <imagename> -p <your port>:8080.
The easiest way to do it is to build a docker image and then run it. There's already a [ready-to-use Dockerfile](https://github.com/IDSaves/terminal-chat/blob/master/server/Dockerfile) so you just go with a `docker build -t <imagename> .` inside a server's directory. After you built a docker image just type in `docker run <imagename> -p <your port>:8080`.

If you don't wanna use docker you can install the server's package directly on your computer by typing `cargo install`. Of course you will need to install Rust before you do it :).
## How to use the terminal chat client?
Expand Down
2 changes: 1 addition & 1 deletion server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terminal Chat server

## How to run the terminal chat server?
The easiest way to do it is to build a docker image and then run it. There's already a [ready-to-use Dockerfile](https://github.com/IDSaves/terminal-chat/blob/master/server/Dockerfile) so you just go with a `docker build -t <imagegame> .` inside a server's directory. After you built a docker image just type in docker run <imagename> -p <your port>:8080.
The easiest way to do it is to build a docker image and then run it. There's already a [ready-to-use Dockerfile](https://github.com/IDSaves/terminal-chat/blob/master/server/Dockerfile) so you just go with a `docker build -t <imagename> .` inside a server's directory. After you built a docker image just type in `docker run <imagename> -p <your port>:8080`.

If you don't wanna use docker you can install the server's package directly on your computer by typing `cargo install`. Of course you will need to install Rust before you do it :).

0 comments on commit 99e9598

Please sign in to comment.