659 B
659 B
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:
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
.