Giter Site home page Giter Site logo

crackcodelogn / twm-tribalwars-service Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 90 KB

TW service to handle all Tribal wars related actions

Java 99.46% Shell 0.54%
tribal-wars rest-api spring-boot feign-client feign eureka-client tandem-workflow-manager selenium selenium-java

twm-tribalwars-service's Introduction

twm-tribalwars-service

Tech stack

  1. Java 11
  2. Spring-Boot
  3. Selenium + Firefox gecko driver
  4. Swagger
  5. Guava, Gson, Protobuf - the Google family

Requirements

  1. Download gecko driver - the firefox engine - from here: https://github.com/mozilla/geckodriver/releases
  2. Set a parameter - TWM_HOME_PARENT at your system level, which would point to the location of folder one level above the TWM folder (where all the twm family members reside).
  3. In the code, the default location it'll look for is: /etc/WEBDRIVER/FIREFOX/geckodriver. Thus store the downloaded driver at said location or pass location of customized in the input by passing -Dlocation.driver.gecko=<ur-loc>
  4. Pass your tribalwars login credentials in similar file.

Starting up locally

  1. Build and fire up the Eureka server from https://github.com/crackCodeLogn/twm-eureka-service/
  2. Build and fire up the Rendering server from https://github.com/crackCodeLogn/twm-rendering-service/
  3. Build and fire up the MongoDB server if you require db access. Then fire up the microservice: https://github.com/crackCodeLogn/twm-mongo-service/
  4. Build and fire up the CockroachDB server if you require db access. Then fire up the mircroservice: https://github.com/crackCodeLogn/twm-tribalwars-crdb-service
  5. Finally, build and fire up the twm-tribalwars-service jar.
  6. All firing up is via the bin/<service-name>.sh starter scripts situated in each of the projects.

Shut down locally

  1. Ctrl+c the window where twm-tribalwars-service was started.
  2. Ctrl+c the window where twm-mongo-service was started.
  3. Ctrl+c the window where twm-rendering-service was started.
  4. Ctrl+c the window where twm-tribalwars-crdb-service was started.
  5. Finally shut down the Eureka server by Ctrl+c the window where twm-eureka-service was started.

twm-tribalwars-service's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.