Skip to content

Files

Latest commit

14c68d5 · Jul 18, 2022

History

History
34 lines (21 loc) · 592 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 592 Bytes

Podmaster

Podmaster serves requests to pods according to the Webpods specification.

Installation

npm i -g podmaster

Creating a configuration file.

See src/example-config

Running

podmaster -p PORT -c config-file.mjs

Running Tests

The following will create a config in /some/config/dir.

./scripts/setup.sh /some/config/dir pod1.local.webpods.org ex1.local.webpods.org

You can now run npm test after setting the PODMASTER_TEST_DATA_DIR var:

PODMASTER_TEST_DATA_DIR=/some/config/dir npm test