|
14 | 14 | - [How do I customize my Azure resource deployment?](#how-do-i-customize-my-azure-resource-deployment) |
15 | 15 | - [How do I use my existing Azure resources from the same resource group?](#how-do-i-use-my-existing-azure-resources-from-the-same-resource-group) |
16 | 16 | - [How do I use my existing Azure resources from a different resource group?](#how-do-i-use-my-existing-azure-resources-from-a-different-resource-group) |
| 17 | + - [How do I update my local deployment scripts with the latest?](#how-do-i-update-my-local-deployment-scripts-with-the-latest) |
17 | 18 |
|
18 | 19 | ## Intro |
19 | 20 |
|
@@ -216,3 +217,34 @@ If you want to use an existing resource from a different resource group, follow |
216 | 217 | #### Other services |
217 | 218 | 1. Remove the resource from the `resources` array in `template.json`. |
218 | 219 | 2. Provide the appropriate configuration in `appsettings.json` from the [Azure Portal](https://portal.azure.com). |
| 220 | + |
| 221 | +### How do I update my local deployment scripts with the latest? |
| 222 | + |
| 223 | +Once you have created your Virtual Assistant or Skill projects using the various templates and generators, you may need to update the deployment scripts to reflect ongoing changes to these scripts over time. |
| 224 | + |
| 225 | +#### Sample Project |
| 226 | + |
| 227 | +For each of the template types we provide a sample project which is generated by the most recent template. This enables you to easily retrieve changes such as the deployment scripts. Alternatively you can clone the repro and use this sample project as your starting point. |
| 228 | + |
| 229 | +See the table below for a direct link to the appropriate sample project for your scenario: |
| 230 | + |
| 231 | +Name | Language | Sample Project Location | Deployment Scripts Folder | |
| 232 | +-------- | ---- | ----- | ----- |
| 233 | +Virtual Assistant | csharp | [Sample Project Location](https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/csharp/Sample) | [Deployment Scripts](https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/csharp/Sample/VirtualAssistantSample/Deployment) |
| 234 | +Virtual Assistant | typescript | [Sample Project Location](https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/typescript/samples/sample-assistant) | [Deployment Scripts](https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/typescript/samples/sample-assistant/deployment) |
| 235 | +Skill Template | csharp | [Sample Project Location](https://github.com/microsoft/botframework-solutions/tree/master/templates/Skill-Template/csharp/Sample) | [Deployment Scripts](https://github.com/microsoft/botframework-solutions/tree/master/templates/Skill-Template/csharp/Sample/SkillSample/Deployment) |
| 236 | +Skill Template | typescript | [Sample Project Location](https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/typescript/samples/sample-skill) | [Deployment Scripts](https://github.com/microsoft/botframework-solutions/tree/master/templates/Virtual-Assistant-Template/typescript/samples/sample-skill/deployment) |
| 237 | + |
| 238 | +#### Updating your deployment scripts |
| 239 | + |
| 240 | +GitHub doesn't provide the ability to download folders or files interactively in the Web Browser. You must therefore clone the [Bot Framework Solutions repo](https://github.com/microsoft/botframework-solutions) onto your machine. |
| 241 | + |
| 242 | +1. Clone the repo locally onto your machine |
| 243 | +2. Browse to the appropriate deployment scripts folder using the table above as a reference to the location |
| 244 | +3. Copy the entire contents of the `Deployment` folder (resources and script subdirectories) over the files in the `Deployment` folder of your Assistant or Skill project. |
| 245 | + |
| 246 | +You now have the latest scripts for Assistant/Skill deployment and updating of cognitive models. |
| 247 | + |
| 248 | +#### Skills |
| 249 | + |
| 250 | +Skills are part of the above GitHub repo so any changes to the deployment scripts will be reflected automatically when you pull the latest changes. |
0 commit comments