ceph / pulpito-ng

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pulpito-ng

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.

Getting Started

You'll need at least node v17. Once you've got that, start in development mode with:

$ npm install
$ npm run start

Integrate with teuthology docker setup

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

About


Languages

Language:TypeScript 72.8%Language:JavaScript 23.2%Language:HTML 1.9%Language:CSS 1.3%Language:Dockerfile 0.3%Language:Shell 0.3%