Install instructions - Pihl17/PCSS2018---TheRealGroup1-Client GitHub Wiki

Compiling and running the Client

Command-line / Terminal

  • git clone The repository to a folder
  • javac Compile the files in the src/Client folder
  • java Launch the Client with ip and port as first and second argument

Eclipse

  • git clone The repository to a folder
  • Open the project in eclipse by adding the entire project, and choose the Client.java main as the primary main-class
  • In the run configuration, remember to set the ip and port as the first and second argument, An example could be; 127.0.0.1 8080 inside the configuration
  • Run the Client

Downloading the binary/jar and running the server

Command-line / Terminal

  • Download the Client.jar binary from the release here
  • java -jar the Client.jar to launch it, remember to apply the ip and port arguments as the first and second An example could be; java -jar Client.jar 127.0.0.1 8080

Eclipse

  • Download the Client.jar binary from the release here
  • Setup the configuration, remember to add the ip and port arguments as the first and second An example for the arguments could be; 127.0.0.1 8080
  • Run the .jar File.

Installing the Server

See Server installation & run for the Server instructions