Skip to content

ProvenanceWidgets/showcase

Repository files navigation

ProvenanceWidgets Showcase

A Showcase of Applications Developed using ProvenanceWidgets.

Setup

  • Open the command line/terminal on your machine and navigate to this project's top-level directory (i.e. where this file is).
  • Download and install node, npm from https://nodejs.org/en/download/. Optionally, use the nvm (Node Version Manager) to quickly install and use different versions of node via the command line. Note the compatible node/npm version in package.json > "engines".
  • Install compatible Angular npm install -g @angular/cli@15.2.9
  • npm install - installs required libraries from package.json.

Run

Test

  • npm run test

Build

  • npm run build outputs the build in the ./dist/ folder.

Deployment

Development vs. Building Configurations for base-href

  • Development: Because the app served from / while developing locally, index.html must be configured with <base href="/" />.
  • Build: Because the app is eventually served from /showcase (and not /), index.html must be configured with <base href="/showcase/" />. In addition, we pass --base-href /showcase/ in the ng build command (already configured to do this as part of npm run build, see package.json).