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
Copy file name to clipboardExpand all lines: INSTALL.md
+48-8Lines changed: 48 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,33 +7,73 @@ az-firewall-mon once installed in your environment will result in the following
7
7
The steps to follow to install a private copy of az-firewall-mon in your environment are:
8
8
9
9
* Fork the GitHub repository
10
+
* Create a GitHub Personal Access Token (PAT)
10
11
* Create all Azure resources
11
12
* Configure the GitHub Action to deploy both the SPA and the backend API
12
13
* Environment variables
13
14
14
15
# Fork the GitHub repository
15
16
16
-
The first thing to do is clone the az-firewall-mon repository; this repository holds all the source code of az-firewall-mon. This will also allow to pull down and build the latest changes and updates from original repo having the stability of maintaining a own personal copy.
17
+
The first thing to do is clone the az-firewall-mon repository. This will also allow you to pull down and build the latest changes and updates from the original repo while having the stability of maintaining your own personal copy.
17
18
18
19
* Navigate to: <https://github.com/nicolgit/azure-firewall-mon>.
19
20
* Click Fork > create a new fork (top right of the repository)
20
21
* Click [Create fork]
21
-
* You have now a fork of the 'az-firewall-mon' repository; when a new update comes out - you can also select 'Sync fork' - to keep your fork up-to-date and trigger a new build.
22
22
23
+
> You have now a fork of the 'az-firewall-mon' repository; when a new update comes out - you can also select 'Sync fork' - to keep your fork up-to-date and trigger a new build.
3. Click **Generate new token** > **Generate new token (classic)**
30
+
4. Give your token a name like "Azure Static Web App Deployment"
31
+
5. Expiration: `No Expiration`
32
+
6. Select the following scopes:
33
+
-`repo` (Full control of private repositories)
34
+
-`workflow` (Update GitHub Action workflows)
35
+
7. Click **Generate token**
36
+
8.**Copy your token** (you won't be able to see it again)
23
37
24
38
# Create all Azure resources
25
-
An instance of az-firewall-mon is composeb by
39
+
An instance of `az-firewall-mon` is composed of:
26
40
* 1 Azure Static Web App (standard plan)
27
-
* 1 Azure Map account
41
+
* 1 Azure Maps account
28
42
* 1 Azure OpenAI account
29
-
* 1 Application insight instance
43
+
* 1 Application Insights instance
30
44
31
-
All these resources can be deployed on your subscription clicking the button below:
45
+
All these resources can be deployed to your subscription by clicking the button below:
32
46
33
47
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fnicolgit%2Fazure-firewall-mon%2Fmain%2Fbicep%2Fsetup.json)
34
48
35
-
# Configure the GitHub Action to deploy both the SPA and the backend API
49
+
Remember to fill in the following parameters:
50
+
-`staticWebAppName`: Name for your static web app
51
+
-`repositoryUrl`: Your GitHub repository URL (e.g., `https://github.com/username/azure-firewall-mon`)
52
+
-`repositoryToken`: Your GitHub PAT created in the above paragraph
53
+
-`branch`: Your main branch ('main')
54
+
55
+
This will create an action in your repository that will build and deploy the solution to Azure.
56
+
57
+
Go to <https://github.com/YOURGITHUBACCOUNT/azure-firewall-mon/actions> to see the deployment status. When deployment is complete, go to Azure Portal > Static Web Apps > View app in browser
58
+
59
+
# Environment variables
60
+
61
+
az-firewall-mon requires a few environment variables to work. These variables are configured automatically by the deployment. Here's the reference in case you want to change any:
0 commit comments