You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: infra/README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
3
3
This guide is a temporary document that walks through the process to convert the graphrag solution accelerator to a managed app.
4
4
5
+
### Prerequisites
6
+
### 1. create a ACR and push the code to a docker image.
7
+
### 2. This managed app uses storage account to deploy, so please copy the storage account name and the SAS key.
8
+
### 3. When publishing the managed app , please turn on anon access to the Blob where the package can be accessed.
9
+
10
+
### Steps to build Managed App
11
+
5
12
### 1. Auto format the bicep code
6
13
7
14
As a precaution, start by auto-formating and linting the bicep code to detect any mistakes early-on.
@@ -27,8 +34,8 @@ The name of the final two files (`mainTemplate.json` and `createUiDefinition.jso
27
34
28
35
```bash
29
36
cd<repo_root_directory>/infra/managed-app
30
-
zip -rj managed-app.zip .
31
-
```
37
+
tar -a -c -f managed-app.zip createUiDefinition.json mainTemplate.json openapi.json artifacts
38
+
```
32
39
33
40
This zip file can then be uploaded to an Azure Storage location when setting up a [Service Catalog Managed Application Definition](https://ms.portal.azure.com/#view/Microsoft_Azure_Marketplace/GalleryItemDetailsBladeNopdl/id/Microsoft.ApplianceDefinition/selectionMode~/false/resourceGroupId//resourceGroupLocation//dontDiscardJourney~/false/selectedMenuId/home/launchingContext~/%7B%22galleryItemId%22%3A%22Microsoft.ApplianceDefinition%22%2C%22source%22%3A%5B%22GalleryFeaturedMenuItemPart%22%2C%22VirtualizedTileDetails%22%5D%2C%22menuItemId%22%3A%22home%22%2C%22subMenuItemId%22%3A%22Search%20results%22%2C%22telemetryId%22%3A%2220409084-39a1-4800-bbce-d0b26a6f46a4%22%7D/searchTelemetryId/d7d20e05-ca16-47f7-bed5-9c7b8d2fa641).
34
41
@@ -38,8 +45,9 @@ In the Azure Portal, go to Marketplace and create a `Service Catalog Managed App
38
45
39
46
### 6. Deploy the managed app
40
47
41
-
In the Azure Portal, find and click on the managed app definition resource that was created in the previous step. A button option to `Deploy from definition` will be available. Click on it and proceed through the setup steps (defined by the `createUiDefinitions.json` file) that a consumer would experience when installing the managed app.
48
+
49
+
You can deploy from the portal using the following steps In the Azure Portal, find and click on the managed app definition resource that was created in the previous step. A button option to `Deploy from definition` will be available. Click on it and proceed through the setup steps (defined by the `createUiDefinitions.json` file) that a consumer would experience when installing the managed app.
42
50
43
51
44
-
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fgraphrag-accelerator%2Frefs%2Fheads%2Fharjit-managed-app%2Finfra%2FmainTemplate.json)
52
+
or you can deploy to azure [](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fgraphrag-accelerator%2Frefs%2Fheads%2Fharjit-managed-app%2Finfra%2FmainTemplate.json)
0 commit comments