control-center/README.md
2022-08-01 19:21:48 +03:00

962 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

If you want to develop a library, then it's better to start building library separately:

npm run dev
npm run dev-libs