@jorsek/nodejs-worker-library
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @jorsek/nodejs-worker-library

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

82 kB

Total Files

67

Last publish

Collaborators

  • michal.dabrowski.heretto
  • jarekkasza
  • sebastian-rembisz-heretto
  • matthallmanheretto
  • pboz
  • krystian.balwierz