Skip to content

teggr/yorkshire-golf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yorkshire-golf

Web based tracker for Yorkshire Golf

Copilot Instructions

For consistent naming of pages/sections and guidance for the scripts Course Audit tool, see .github/copilot-instructions.md.

Data Store

Managed as resouces:

  • courses.csv contains the list of yorkshire courses
  • course-records.csv contains the list of played courses. fk into the courses list

Build

Requires:

  • Java 21
  • Maven
./mvnw clean package

Release

./mvnw versions:set -DremoveSnapshot=true -DprocessAllModules=true -DgenerateBackupPoms=false

./mvnw clean package docker:push

Deploy

Build the Docker image:

deploy4j deploy --version=0.0.9

Post-Deploy

./mvnw versions:set -DnextSnapshot=true -DprocessAllModules=true -DgenerateBackupPoms=false

Usage

Go to https://www.yorkshiregolf.life

Course Audit

Run from repo root:

jbang scripts/CourseAudit.java

By default, closed courses are hidden.

To include closed courses for editing:

jbang scripts/CourseAudit.java --show-closed

Useful References

https://www.chartjs.org/docs/latest/samples/other-charts/multi-series-pie.html https://stackoverflow.com/questions/20966817/how-to-add-text-inside-the-doughnut-chart-using-chart-js

About

Web based tracker for Yorkshire Golf

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors