Skip to content

bsadd/game-arena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

game-arena

BSADD Game Arena

A gaming platform where bots fight with each other

Target

We would like to host the next BOT Contest on our own platform.

Reading Materials

Docker Essentials

  1. [Learn Docker in 12 Minutes](Learn Docker in 12 Minutes](https://www.youtub)e.com/watch?v=YFl2mCHdv24)
  2. Docker crash course
  3. Awesome Docker: Useful list of resources for learning and working with Docker

Quickly see the application running together

  1. Install docker and make sure it's running
  2. run following command to trigger docker compose to start the application
make docker-compose
  1. Go to https://localhost:8080/countries and see the project running.

Things to remember:

  • Port 8080 may be locked by other application, then you need to either close that application, or change ports for this application
  • Sometimes docker image can not run if it can't find cpu architecture images, you need to find our the correct docker images for your machine.
  • After running docker compose for the first time, the db setup might be taking some time and java application can fail. For now we suggest to retry couple of times.
  • If you see login page, the username is user and the password in printed in springboot application log (probably in the console).

Development

BackendAPI Development

  1. Install Maven
  2. Install jdk17
  3. Install docker (needed for test containers)
  4. Run following maven command to see if the build system is working on your machine. It'll compile the code and run the tests using testcontainers.
mvn package
  1. Start exploring the codes in src/main/java

Frontend application development

  1. to be written