harbor/src/portal
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
..
app-swagger-ui Remove chart api (#18265) 2023-02-24 14:47:42 +08:00
docker-build Remove chart api (#18265) 2023-02-24 14:47:42 +08:00
e2e Add style lint and add code lint to the pipeline (#16954) 2022-06-08 16:35:19 +08:00
scripts Remove chart api (#18265) 2023-02-24 14:47:42 +08:00
server Fix message processing issue (#17609) 2022-09-29 11:12:11 +08:00
src Add logs column for worker datagrid (#18307) 2023-03-07 19:58:39 +08:00
.eslintrc.json Fix message processing issue (#17609) 2022-09-29 11:12:11 +08:00
.prettierignore migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.prettierrc.json migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.stylelintrc.json Refactor swagger ui (#17428) 2022-08-23 12:03:45 +08:00
PACKAGE.md Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
README.md Add agent config for ng serve (#18323) 2023-03-10 17:22:11 +08:00
angular.json Add agent config for ng serve (#18323) 2023-03-10 17:22:11 +08:00
karma.conf.js Undate Angular to the latest version (#15129) 2021-06-16 16:39:10 +08:00
package-lock.json Add agent config for ng serve (#18323) 2023-03-10 17:22:11 +08:00
package.json Add agent config for ng serve (#18323) 2023-03-10 17:22:11 +08:00
protractor.config.js Add container for harbor-portal 2018-09-07 13:20:08 +08:00
proxy.config.mjs.temp Add agent config for ng serve (#18323) 2023-03-10 17:22:11 +08:00
tsconfig.app.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
tsconfig.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00
tsconfig.spec.json Upgrade Angular and Clarity to the latest version (#18059) 2023-01-05 10:42:59 +08:00

README.md

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