@jorsek/nodejs-worker-library
v1.0.8
Published
Basic node worker library
Maintainers
Keywords
Readme
Basic node.js worker
A library for creating node.js workers for Jorsek's publishing system.
Setup - running locally
Make sure you have Node.js installed locally.
This system requires environmental variables to run, the following variables should be defined:
GATEWAY_URL=
GCLOUD_PUBSUB_KEY_FILE=GATEWAY_URL is the URL to the Internal API Gateway. For local development, it's usually http://localhost:9235/. Please remember about the / at the end.
GCLOUD_PUBSUB_KEY_FILE is the path to the .json file obtained from GCP. This file should be a key to a service account with Pub/Sub read and write access.
If you are using PUBSUB_PREFIX, set this environment variable here as well. Make sure it's the same in easyDITA, Publishing Job Manager and here.
