Server instructions:
- Open the project in IntelliJ
- Build > Build Project
- Services (Alt + 8) > Add new configuration
- Select Tomcat > Local
- For http port, enter 8081, not 8080. For JMX port change to 1080.
- Click on ok
- Right click on Tomcat from services and select artifacts
- Add both demo_war and demo_war_exploded
- Click on ok
- Run Tomcat
Visit this url to check if it works: http://localhost:8081/demo_war_exploded/
SQL instructions:
- open game.sql in MySQL Workbench.
- run the script.
- open DatabaseConnection.java in IntelliJ.
- update database connection details.