- Install Maven https://maven.apache.org/
- Install Docker https://www.docker.com/
- git clone https://github.com/TorbenHaug/VS.git
- Start docker deamon
- On windows you have to use the docker shell, or export docker-machine env --shell=
- On Linux all exports have to be in your shell
- Open Folder in your shell
- Type mvn clean install
- Install the http://www.eclipse.org/m2e/
- Goto File->Import->Maven->Existing Maven Project
- Choose the pom.xml file in the Root-Directory of the Project
- File->Open
- Choose the pom.xml file in the Root-Directory of the Project
The names of the services have to be equal in each ApplicationStartup and in the function de.haw_hamburg.vs_ws2015.spahl_haug.servicerepository.ServiceRepository.getComponents
In each ApplicationStartup and ApplicationClose and in the function de.haw_hamburg.vs_ws2015.spahl_haug.servicerepository.ServiceRepository.getService set variable "base64Creds" to your HAW-credetials (You can do so on https://www.base64encode.org/ with :).
You have to use the bank of https://github.com/Octav14n/VSP.git.
Start running each service including the bank (see SetUp Bank) except of the frontend. Start frontend when all other services are started and are registered at the serviceRepository
- events: docker run de.haw-hamburg.vs-ws2015.spahl-haug.rest.events
- games: docker run de.haw-hamburg.vs-ws2015.spahl-haug.rest.games
- boards: docker run de.haw-hamburg.vs-ws2015.spahl-haug.rest.boards
- broker: docker run de.haw-hamburg.vs-ws2015.spahl-haug.rest.broker
- player/frontend: docker run -p :4567 monopolyrwt