Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.

Latest commit

 

History

History
46 lines (36 loc) · 1.92 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.92 KB

nuCal

releases docs golang version
codecoverage code size
issues pull requests
twitter
Open in Gitpod

This application will generate a REST endpoint to generate ICS (iCalendar) from nuLiga. The service will consume JSON content from taskmedia/nuScrape.

Start application

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

Configuration

The application can be configured with environment variables:

# set path where to persist calendars
NUCAL_PATH="./"