From f3581348282fe143f4dc3965773cf6886a97d6f8 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Mon, 25 Jan 2021 12:06:15 -0500 Subject: [PATCH] docs: Add building desktop for prod section --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index c19d4efac..0f96407b0 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ subproject, e.g. running or testing. - [Building ToC](#building-toc) - [Building Admin UI for Production](#building-admin-ui-for-production) - [Building with a Container](#building-with-a-container) + - [Building Desktop UI for Production](#building-desktop-ui-for-production) - [Committing](#committing) - [License Checking](#license-checking) @@ -102,6 +103,22 @@ docker-compose -f docker-compose-embedding.yml run build Assets are saved to `ui/admin/dist/`. +### Building Desktop UI for Production + +See ui/desktop/README.md Building for Production for more information on how to +build the Desktop UI. Be sure to set build-related environment variables as +necessary for your target environment, as described in the Desktop UI readme. + +To quickly produce a production build of Desktop UI, run from this folder: + +```bash +yarn install +yarn build:ui:desktop +``` + +Assets are saved to `ui/desktop/electron-app/out/make/`. +DMG packaged desktop UI is available at asset location as `Boundary.dmg`. + ### Committing Instead of the default `git commit`, we prescribe a custom command that ensures