Learn how to start the local server that hosts your custom feature.
Procedure
-
Open a terminal.
- Run the following command.
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.
- Open the URL in a web browser where you are prompted with an invalid
certificate.
- 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.