What is 8-Ball Leaderboard?
8-Ball Leaderboard is a web application based on the Flask framework. The purpose of this web application, is to have a central place to store match results and total scores per player for the Pool matches in either a location or company. Features:
New Match:
2 Players can input their names and the winner will use the relevent button to mark themselves as the winner.
Leaderboard:
The leaderboard will update to show the player who has the highest win count. This will also show all players who have participated.
Recent Results:
This section will show the last 5 matches played, with the details of the 2 players, the winner and a timestamp.
Clone the repository:
mkdir ~/repos
cd ~/repos
git clone [email protected]:kelvgooding/8ball-leaderboard.git
Run the following command to build the Docker image
sudo docker build -t 8ball-leaderboard .
Run the following start a container:
sudo docker run -itd -p 3001:3001 -v /mnt/usb/volumes/8ball-leaderboard:/data --name 8ball-leaderboard 8ball-leaderboard
This should now be accessible via a web browser - http://localhost:3001