control-center/README.md
2022-04-25 11:20:58 +03:00

832 B

Control Center

Installation

  1. Add environment and configurations:

    • .env
      PROXY_TARGET="https://<URL>"
      
    • src/assets/appConfig.json:
      {
          "fileStorageEndpoint": "https://<URL>",
          "constants": {
              "currencies": [{ "source": "<ID>", "currency": "USD" }]
          }
      }
      
    • src/assets/authConfig.json:
      {
          "realm": "internal",
          "auth-server-url": "https://<URL>",
          "ssl-required": "external",
          "resource": "control-center",
          "public-client": true
      }
      
  2. Install packages

    npm ci
    

Usage

  1. Start
    npm start
    
  2. Open localhost:4200