@@ -79,66 +79,29 @@ Create and assign persistent environment variables for your key and endpoint.
79
79
80
80
``` CMD
81
81
setx METRICS_ADVISOR_ENDPOINT "REPLACE_WITH_YOUR_ENDPOINT_HERE"
82
- ```
83
-
84
- ``` CMD
85
82
setx METRICS_ADVISOR_KEY "REPLACE_WITH_YOUR_KEY_VALUE_HERE"
86
- ```
87
-
88
- ``` CMD
89
83
setx METRICS_ADVISOR_API_KEY "REPLACE_WITH_YOUR_KEY_VALUE_HERE"
90
- ```
91
-
92
- ``` CMD
93
84
setx SQL_CONNECTION_STRING "REPLACE_WITH_YOUR_UNIQUE_SQL_CONNECTION_STRING"
94
- ```
95
-
96
- ``` CMD
97
85
setx SQL_QUERY "REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYING_STRUCTURE_OF_YOUR_DATA"
98
86
```
99
87
100
88
# [ PowerShell] ( #tab/powershell )
101
89
102
90
``` powershell
103
91
[System.Environment]::SetEnvironmentVariable('METRICS_ADVISOR_ENDPOINT', 'REPLACE_WITH_YOUR_ENDPOINT_HERE', 'User')
104
- ```
105
-
106
- ``` powershell
107
92
[System.Environment]::SetEnvironmentVariable('METRICS_ADVISOR_KEY', 'REPLACE_WITH_YOUR_KEY_VALUE_HERE', 'User')
108
- ```
109
-
110
- ``` powershell
111
93
[System.Environment]::SetEnvironmentVariable('METRICS_ADVISOR_API_KEY', 'REPLACE_WITH_YOUR_KEY_VALUE_HERE', 'User')
112
- ```
113
-
114
- ``` powershell
115
94
[System.Environment]::SetEnvironmentVariable('SQL_CONNECTION_STRING', 'REPLACE_WITH_YOUR_UNIQUE_SQL_CONNECTION_STRING', 'User')
116
- ```
117
-
118
- ``` powershell
119
95
[System.Environment]::SetEnvironmentVariable('SQL_QUERY', 'REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYING_STRUCTURE_OF_YOUR_DATA', 'User')
120
96
```
121
97
122
98
# [ Bash] ( #tab/bash )
123
99
124
100
``` Bash
125
101
echo export METRICS_ADVISOR_ENDPOINT=" REPLACE_WITH_YOUR_ENDPOINT_HERE" >> /etc/environment && source /etc/environment
126
- ```
127
-
128
-
129
- ``` Bash
130
102
echo export METRICS_ADVISOR_KEY=" REPLACE_WITH_YOUR_KEY_VALUE_HERE" >> /etc/environment && source /etc/environment
131
- ```
132
-
133
- ``` Bash
134
103
echo export METRICS_ADVISOR_API_KEY=" REPLACE_WITH_YOUR_KEY_VALUE_HERE" >> /etc/environment && source /etc/environment
135
- ```
136
-
137
- ``` Bash
138
104
echo export SQL_CONNECTION_STRING=" REPLACE_WITH_YOUR_UNIQUE_SQL_CONNECTION_STRING" >> /etc/environment && source /etc/environment
139
- ```
140
-
141
- ``` Bash
142
105
echo export SQL_QUERY=" REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYING_STRUCTURE_OF_YOUR_DATA" >> /etc/environment && source /etc/environment
143
106
```
144
107
@@ -361,4 +324,4 @@ Run the application from your application directory with the `dotnet run` comman
361
324
362
325
``` dotnet
363
326
dotnet run
364
- ```
327
+ ```
0 commit comments