This is a rewrite of Pulpito in React, in its early stages. Many, but not all, of the original Pulpito's features have been implemented.
You'll need at least node v17. Once you've got that, start in development mode with:
$ npm install
$ npm run start
If you want to develop in a container environment and connect to other teuthology services, here is what you can do:
In teuthology's docker-compose replace pulpito
service with the following:
pulpito:
build:
context: ../../../pulpito-ng
environment:
REACT_APP_PADDLES_SERVER: http://0.0.0.0:8080
depends_on:
paddles:
condition: service_healthy
teuthology_api:
condition: service_healthy
links:
- paddles
- teuthology_api
healthcheck:
test: [ "CMD", "curl", "-f", "http://0.0.0.0:8081" ]
timeout: 5s
interval: 10s
retries: 2
ports:
- 8081:8081