Skip to content

TorbenHaug/VS

Repository files navigation

VS

Getting Started

  1. Install Maven https://maven.apache.org/
  2. Install Docker https://www.docker.com/
  3. git clone https://github.com/TorbenHaug/VS.git
  4. Start docker deamon
  5. On windows you have to use the docker shell, or export docker-machine env --shell=
  6. On Linux all exports have to be in your shell
  7. Open Folder in your shell
  8. Type mvn clean install

Import to Eclise

  1. Install the http://www.eclipse.org/m2e/
  2. Goto File->Import->Maven->Existing Maven Project
  3. Choose the pom.xml file in the Root-Directory of the Project

Import to Idea

  1. File->Open
  2. Choose the pom.xml file in the Root-Directory of the Project

ServiceRepository config

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

Set Authentification

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 :).

SetUp Bank

You have to use the bank of https://github.com/Octav14n/VSP.git.

Running Services

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages