View Code? Open in Web Editor
NEW
TW service to handle all Tribal wars related actions
twm-tribalwars-service's Introduction
Java 11
Spring-Boot
Selenium + Firefox gecko driver
Swagger
Guava, Gson, Protobuf - the Google family
Download gecko driver - the firefox engine - from here: https://github.com/mozilla/geckodriver/releases
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).
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>
Pass your tribalwars login credentials in similar file.
Build and fire up the Eureka server from https://github.com/crackCodeLogn/twm-eureka-service/
Build and fire up the Rendering server from https://github.com/crackCodeLogn/twm-rendering-service/
Build and fire up the MongoDB server if you require db access. Then fire up the
microservice: https://github.com/crackCodeLogn/twm-mongo-service/
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
Finally, build and fire up the twm-tribalwars-service jar.
All firing up is via the bin/<service-name>.sh
starter scripts situated in each of the projects.
Ctrl+c the window where twm-tribalwars-service was started.
Ctrl+c the window where twm-mongo-service was started.
Ctrl+c the window where twm-rendering-service was started.
Ctrl+c the window where twm-tribalwars-crdb-service was started.
Finally shut down the Eureka server by Ctrl+c the window where twm-eureka-service was started.
twm-tribalwars-service's People
Contributors
Watchers