harbor/src/portal
Josh Soref dfe360040b Spelling
* addition
* attribute
* auditing
* availability
* available
* bandwidth
* browser
* business
* cadence
* chartmuseum
* client
* column
* content
* demonstrate
* described
* endpoints
* facilitate
* github
* harbor
* information
* instance
* manual
* meaningful
* operation
* overridden
* password
* possible
* project
* refactor
* replication
* requires
* running
* scanned
* settings
* signup
* those
* unsigned
* vulnerability

--
Also removes trailing space from a filename

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-02-19 11:59:15 +08:00
..
e2e Configuration enables users to change information after login through OIDC provider smoothly. 2019-04-01 13:13:02 +08:00
scripts Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
server Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
src Spelling 2021-02-19 11:59:15 +08:00
.browserslistrc Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
README.md Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
angular.json Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
karma.conf.js Update UI package to latest version 2020-09-25 09:46:05 +08:00
package-lock.json Modify cron regex for UI (#14254) 2021-02-18 15:09:10 +08:00
package.json Modify cron regex for UI (#14254) 2021-02-18 15:09:10 +08:00
protractor.config.js Add container for harbor-portal 2018-09-07 13:20:08 +08:00
tsconfig.app.json Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
tsconfig.json Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
tsconfig.spec.json Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
tslint.json Fix tslint fail issues 2018-09-08 14:58:50 +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. 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
{
  "/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",
    "pathRewrite": { "^/src$": "" }
  },
  "/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"
  }
}