soapbox-race
Webserver to handle cars and pilots profiles.
##How to:
My advice is to download Eclipse JavaEE, and after that download eGit Maven SCM profile from the Eclipse marketplace(both free). After importing the project from the SCM profile, build the server with the built-in maven using clean compile assembly:single
.
##Running the server:
-
mysql db server running
-
openfire xmpp server running (try openfire/README.md file)
java -jar soapbox-race-version-jarname.jar Secret-key-auth-from-openfire ip-to-openfire-xmpp-host(optional) ip-to-udp-host(optional)
example:
java -jar soapbox-race-1.0.jar y0gs2EUWSakiz1q5 192.168.0.33 192.168.0.33
##How to login
- Users + Password hashes(SHA-1) (default MySQL entries):
format:
email passwordHash
debug@player1 a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
debug@player2 a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
debug@player3 a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
-
Get loginToken and userID with:
http://localhost:1337/soapbox/nothing/user/authenticateUser?email=SOME_EMAIL&password=SOME_HASH_PASSWORD
-
Launch soapbox.exe with the parameters:
soapbox.exe ANYTHING_YOU_WANT http://ip-to-http-host:1337/soapbox/Engine.svc loginToken userId
##Launcher development
Please follow https://github.com/berkay2578/soapbox-race-launcher for more info.