Spring and Kryonet server application
To play the game you also need to download client
- Clone this repo
git clone https://github.com/AaronR92/Rock-Paper-Scissors-Server.git
- Open
resources/application.yaml
- Run in your database query console
CREATE DATABASE <YourDatabaseName>;
, tables will generate automatically when app will be started - Change your database credentials and url
spring:
datasource:
username: YourDatabaseUsername
password: YourDatabasePassword
url: jdbc:mysql://YourDatabaseURL/YourDatabaseName
- Go to project folder using
cd
- Compile
./mvnw package
- Go to
target
folder if you ran compile commands - Run command
java -jar rock-paper-scissors-server-0.1.jar