Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

How to Run

guidobalde edited this page Jul 1, 2022 · 8 revisions

How to run

Client

For running the client, you have to compile the client.jar.

From the root folder

make run-client

or

java -jar client.jar

if you want to run the client outside the repository folder, copy also the folder resources in the same folder of the client.jar file.

Remember that you need to set the Server Address in the .env file placed where you have the client.jar file. If you don't have the .env file placed in the correct position, please copy that from the root folder.

Server

For running the server, you have to compile the server.jar.

From the root folder

make run-server

or

java -jar server.jar

*** For Windows Only ***

It's necessary to modify the system registry to correctly visualize the CLI.

To do that, type regedit in the Start menu.

Then go to HKEY_CURRENT_USER/Console and double click on Console.

On the menu on the right, right click and select New -> DWORD (32-bit) Value.

Name the new element

VirtualTerminalLevel 

Then click right click -> Modify and type 1 in Value data.

Clone this wiki locally