Skip to content

SOEN487/T12

Repository files navigation

The Games DB

Based on: https://github.com/kpsimoulis/thegamesdb

Pre-requisites

Getting Started

To run the application first create a file named .env in the root directory, which will hold the database credentials and URL:

DB_URL=jdbc:mysql://thegamesdb-database:3306/thegamesdb
DB_USER=root
DB_PASS=password

Then run docker-compose to start the containers:

docker-compose up

You can run the following commands starting from the root directory of the project, to rebuild the target folder first:

cd thegamesdb-webserver/app
mvn clean
mvn install
cd ../..
docker-compose up

You can then visit http://localhost:8080/TheGamesDb to see the app in action.

Play with Docker

If running from Play with Docker, create the .env file in the same way and use the existing target file to simply run docker-compose straight away.

Releases

No releases published

Packages

No packages published