Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Java_TP/README.md
2022-01-30 19:41:07 +01:00

23 lines
659 B
Markdown

# 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`.