- Als erstes wird das Projekt mithilfe von
git clone https://github.com/jwillem/var-tool.githeruntergeladen. - Um die Applikation zu starten, werden zunächst die Installationen von Docker [1] und Docker-Compose [2] benötigt.
- Nach einem Ausführen von
docker-compose buildim Projektverzeichnis kann die App mitdocker-compose upgestartet werden.
[1] https://www.docker.com/community-edition
[2] https://docs.docker.com/compose/install
- Client:
http://localhost:80/publicor in dev:http://localhost:80 - Websocket:
ws://localhost:8080/ws - init Session on Server:
http://localhost:8080/hello - upload submissions to Server:
http://localhost:8080/experiment/{experimentId}/instance/{instanceId}
- compile:
mkdir build && javac -d build src/var/rmi/chat/*.java - build jar:
cd build && jar -cvfe RmiChat.jar var/rmi/chat/ChatServer var/rmi/chat/*.class && cp RmiChat.jar ../ && cd .. - run:
java -cp RmiChat.jar var.rmi.chat.ChatServer, respectivelyjava -cp RmiChat.jar var.rmi.chat.ChatClient "John Doe"