harbor/src/portal/README.md
Shijun Sun ec7c99c270
Add agent config for ng serve (#18323)
1. Add agent setting for the proxy config
2. Add https-proxy-agent package

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-10 17:22:11 +08:00

648 B

Harbor UI

Harbor UI

This is the project based on Clarity and Angular to build Harbor UI.

Start

  1. npm install (should trigger 'npm postinstall')
  2. npm run postinstall (if not triggered, manually run this step)
  3. copy "proxy.config.mjs.temp" file to "proxy.config.mjs"
    cp proxy.config.mjs.temp proxy.config.mjs
  4. Modify "proxy.config.mjs" to specify a Harbor server. And you can specify the agent if you work behind a corporate proxy
  5. npm run start
  6. open your browser on https://localhost:4200