Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 969 Bytes

README.md

File metadata and controls

63 lines (40 loc) · 969 Bytes

Calendar Cache

Calendar cache service parse html and convert it to an ics file.

Requirements

Development

Install the required packages

pnpm i

Run the redis service with docker

docker-compose -f docker-compose.dev.yml up -d

Run typescript in watch mode

pnpm watch

Run the development server

pnpm dev

Tools

Use redis-cli with docker.

docker exec -it {redis-container-name} redis-cli

Display logs from container

docker logs {container-name}

--follow: use this flag to keep following new logs.

Production

The configurable environment variable can be found in sample.env file. The value on the right indicate the defaults.

Run the whole service with redis using docker-compose

docker-compose up -d