tree: 875235f390d932af0a36fe9f4ff72d91c428c447 [path history] [tgz]
  1. bin/
  2. images/
  3. modules/
  4. pages/
  5. Makefile
  6. package-lock.json
  7. package.json
  8. README.md
  9. tsconfig.json
  10. tslint.json
  11. webpack.config.ts
bugs-central/README.md

Bugs Central

TODO(rmistry): Add more detail

Working on the lit-html frontend

Bugs Central follows the pulito model of organization and uses webpack to bundle the pages together.

To get started, run npm ci in the top bugs-central directory. You won't need to run this very often - only when deps are rolled forward.

The lit-html pages are in ./pages. These are very simple, as they compose more complex modules found in ./modules. To access the demo pages for the modules, run

    make serve

Then open a web browser to localhost:8080/static/[module].html. These demo pages have some mock data (piped in via a mock-fetch) and are good proxies for working with real data from a real web server.

The pages in ./pages also show up at localhost:8080/static/[page].html although these won‘t be as interesting as there is no mock data and you may see strange artifacts like {{.Title}} as that’s where the golang templating on the server will insert data.