mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-15 23:05:57 +01:00
56e669ebbc
Signed-off-by: AllForNothing <sshijun@vmware.com> |
||
---|---|---|
.. | ||
docker-build | ||
e2e | ||
scripts | ||
server | ||
src | ||
.browserslistrc | ||
.eslintrc.json | ||
.prettierignore | ||
.prettierrc.json | ||
.stylelintrc.json | ||
angular.json | ||
karma.conf.js | ||
package-lock.json | ||
package.json | ||
PACKAGE.md | ||
protractor.config.js | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.spec.json |
Harbor UI
This is the project based on Clarity and Angular to build Harbor UI.
Start
- npm install (should trigger 'npm postinstall')
- npm run postinstall (if not triggered, manually run this step)
- create "proxy.config.json" file with below content under "portal" directory, and replace "hostname" with an available Harbor hostname
- npm run start
- open your browser on https://localhost:4200
{
"/api/*": {
"target": "https://hostname",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
},
"/service/*": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/c/login": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/c/oidc/login": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/sign_in": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/c/log_out": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/sendEmail": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/language": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/reset": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/c/userExists": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/reset_password": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/i18n/lang/*.json": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/swagger.json": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/swagger2.json": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/chartrepo/*": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
},
"/LICENSE": {
"target": "https://hostname",
"secure": false,
"logLevel": "debug"
}
}