Skip navigation

Deployment

One page summary of how to deploy to Frontend site.

Configuration

Inside the /PreciseAlloy.Frontend/.env.eshn file, set following value:

  • VITE_BASE_URL
    The base path for serving the Frontend site.
    Should be an absolute path, START and END with /.
    Default value is /. You can change it to something like /static/.

  • VITE_PATH_EXTENSION
    Extension for rendered pages output to browsers.
    Should be .html (default) or empty.

  • VITE_TITLE_SUFFIX
    The suffix in the title. For example, if you are on the Home page and the value for this variable is Alloy UI, then the page title will be Home - Alloy UI.

  • NODE_ENV
    It should be set to production mode.

Steps

Whenever there is a push/merge into fe-develop, it will triggers the deployment process to deploy the code to Frontend site.