This application will generate a REST endpoint to generate ICS (iCalendar) from nuLiga. The service will consume JSON content from taskmedia/nuScrape.
You will be able to start the application directly with golang:
go run cmd/nuCal/nuCal.go
Another option would be running the application in a Docker container:
docker run \
--name nucal \
-p 8080:8080 \
-v "$(pwd)/cal:/cal:rw" \
-e "NUCAL_PATH=/cal" \
taskmedia/nucal:latest
The application can be configured with environment variables:
# set path where to persist calendars
NUCAL_PATH="./"