mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-15 23:05:57 +01:00
e86e9aa529
Signed-off-by: AllForNothing <sshijun@vmware.com> Signed-off-by: AllForNothing <sshijun@vmware.com> |
||
---|---|---|
.. | ||
app-swagger-ui | ||
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
[
{
"context": [
"/api",
"/c",
"/i18n",
"/chartrepo",
"/LICENSE",
"/swagger.json",
"/swagger2.json",
"/devcenter-api-2.0",
"/swagger-ui.bundle.js"
],
"target": "https://hostname",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
}
]