Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.33 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.33 KB

metajelo-ui

Build Status

Web tools to display metajelo packages.

Styling with CSS

By default, CSS files are retrieved from a separate repository using scripts/getcss; the file css/style.css contains some default styles used in our examples. Feel free to include it, or modify it (renaming the file is also possible):

<link rel="stylesheet" href="css/style.css">

Building

If you have the relevant build tools intalled (npm, spago, pulp, etc.), you can build using npm run build && npm run prod. For a more convient approach, see the section on Docker below, and for complete build commands used in CI, see scripts/dist_build_commands.sh.

Docker

  • Run ./psc.sh <command>, e.g. ./psc.sh pulp --psc-package build. This will run the command in the container with the CWD mounted and then exit. Alternatively if you want to issue multiple commands in the container quickly, you can run ./psc.sh bash.

Debugging

For an unminified build that is easier to debug from the browser, use npm run debug instead of npm run prod.