Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.15 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.15 KB

Looking for the repository containing the current Fingerpost wires? Try editorial-wires instead (Guardian employees only, sorry!)

newswires

For more details, see

Running locally

Before running any of the projects locally, run the setup script to check dependencies and configure the local environment:

./scripts/setup

Newswires (API and UI)

This can either be run against the CODE database (requires AWS credentials from Janus), or against a local database (requires Docker):

# Running against the CODE db (requires AWS credentials from Janus)
./scripts/start --use-CODE
# Running against a local db (requires Docker to be installed)
./scripts/start

Ingestion Lambda

docker compose up
npm run dev -w ingestion-lambda

Poller Lambdas

npm run dev -w poller-lambdas

...and follow the interactive prompts for running different poller lambdas logic (including simulating the self-queuing mechanism).

Adding a new poller lambda

See poller-lambdas/README.md