A simple service to poll an RSS feed, e.g. the contents of a shelf, from Goodreads. Can be used as a data source for entrello
.
Create a .env
file in the project root directory based on .env.example
.
# install dependencies
yarn
# run tests
yarn test
# lint
yarn lint
# build
yarn build
# poll the RSS feed
yarn start poll
# start web server
yarn start serve
A new Docker image will be created upon each release.
-
Authenticate with the GitHub container registry (only once):
echo $GITHUB_ACCESS_TOKEN | docker login ghcr.io -u GITHUB_USERNAME --password-stdin
-
Pull the latest Docker image:
docker pull ghcr.io/utkuufuk/goodreads-service/image:latest
-
Start the server:
docker run -d \ -p <PORT>:<PORT> \ --env-file </absolute/path/to/.env> \ --restart unless-stopped \ --name goodreads-service \ ghcr.io/utkuufuk/goodreads-service/image:latest