Starting the angular server on your local development environment

Learn how to start the local server that hosts your custom feature.

Procedure

  1. Open a terminal.
  2. Run the following command.
    yarn start

    This starts the local development server over HTTPS at https://bucgenerichost:<port>/<base_href>. Both values <port> and <base_href> come from the package.json.

    For example https://bucgenerichost:9000/custom-buc-sample

Since this angular HTTPS server does not have a valid certificate, on every server start, you cannot immediately view the application in Order Hub. You need to accept a temporary certificate.

  1. Open the URL in a web browser where you are prompted with an invalid certificate.
  2. Accept the certificate error.
    By accepting the certificate, you create a browser exception for the session.

    The application is designed to be rendered inside the Order Hub user interface as it provides user authentication, authorization and other security features, so you simply see a blank page.

What to do next

Now that your local server is running, you can configure your Order Hub DEV tenant to show your custom feature. For more information, see Testing new applications or routes in Order Hub.