2020-07-08 01:33:53 +02:00
|
|
|
![Harbor UI](https://raw.githubusercontent.com/goharbor/website/master/docs/img/readme/harbor_logo.png)
|
2017-02-24 10:54:50 +01:00
|
|
|
|
2017-09-27 06:33:41 +02:00
|
|
|
Harbor UI
|
2017-02-24 10:54:50 +01:00
|
|
|
============
|
2021-02-18 02:12:23 +01:00
|
|
|
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. create "proxy.config.json" file with below content under "portal" directory, and replace "hostname" with an available Harbor hostname
|
|
|
|
4. npm run start
|
|
|
|
5. open your browser on https://localhost:4200
|
|
|
|
```json
|
2022-09-22 05:40:04 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"context": [
|
|
|
|
"/api",
|
|
|
|
"/c",
|
|
|
|
"/i18n",
|
|
|
|
"/chartrepo",
|
|
|
|
"/LICENSE",
|
|
|
|
"/swagger.json",
|
|
|
|
"/swagger2.json",
|
|
|
|
"/devcenter-api-2.0",
|
|
|
|
"/swagger-ui.bundle.js"
|
|
|
|
],
|
2021-02-18 02:12:23 +01:00
|
|
|
"target": "https://hostname",
|
|
|
|
"secure": false,
|
|
|
|
"changeOrigin": true,
|
|
|
|
"logLevel": "debug"
|
|
|
|
}
|
2022-09-22 05:40:04 +02:00
|
|
|
]
|
2021-02-18 02:12:23 +01:00
|
|
|
```
|