Archived
1
0
Fork 0

Update README

This commit is contained in:
Ethanell 2022-01-30 19:41:07 +01:00
parent d60f2803a5
commit 83d3e6c0a4

View file

@ -1,2 +1,23 @@
# Java TP # 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`.