Update README
This commit is contained in:
parent
d60f2803a5
commit
83d3e6c0a4
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
@ -1,2 +1,23 @@
|
|||
# Java TP
|
||||
Florian CHARLAIX - Pierre WATTEAU | DevOps 1
|
||||
|
||||
## Server
|
||||
To start the server, simply execute MainServer with the port to listen too as the first argument.
|
||||
|
||||
The server need a MariaDB server, on the first start the server crate a `server.properties` file with database credentials:
|
||||
```properties
|
||||
password=test
|
||||
address=127.0.0.1
|
||||
port=2222
|
||||
pseudo=test
|
||||
```
|
||||
|
||||
## Client
|
||||
The client can be executed as a command line interface (MainClient) or a graphical one (MainGUI).
|
||||
|
||||
On the command line interface you have to pass ome arguments:
|
||||
```
|
||||
<Server address> <Server port> <Username> <Password>
|
||||
```
|
||||
|
||||
The client configuration is stored in `connection.properties`.
|
||||
|
|
Reference in a new issue