Skip to content

guardian/newswires

Repository files navigation

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

About

No description or website provided.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •