Skip to content

UIM-Showdown/uim-showdown-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

236 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Docker Compose support

This project contains a Docker Compose file named compose.yaml. In this file, the following services have been defined:

Please review the tags of the used images and set them to the same as you're running in production.

Maven Parent overrides

Due to Maven's design, elements are inherited from the parent POM to the project POM. While most of the inheritance is fine, it also inherits unwanted elements like <license> and <developers> from the parent. To prevent this, the project POM contains empty overrides for these elements. If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides.

Local Development

Dependencies

Docker

Serving the Application

NOTE: Everytime changes are made, a new image build and container build are required.

  1. Navigate to the src/main/resources/ directory. Make a copy of application.properties.example and rename it to application.properties.
cd src/main/resources/
cp application.properties.example application.properties

The example properties file is already configured to use the configured Docker environment. Feel free to change any pre-existing settings to match your setup.

  1. Build the application image using the build-image maven plugin
./mvnw spring-boot:build-image -DskipTests
  1. Spin up running containers for dependencies (including the image created in the previous step)
docker-compose up --build

Troubleshooting

I recently ran into the following issue:

Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.4.3:build-image failed: OS must not be empty

Sometimes stale cache layers cause strange issues. Using docker system prune -af addressed the issue above and will clean the Docker build cache. Be careful — this removes all stopped containers, unused networks, and dangling images.

About

Backend for UIM Showdown Bingo Events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages