-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from Microsoft/DeployToAzureButton
Deploy to azure button
- Loading branch information
Showing
13 changed files
with
723 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Learn basics of Skype bot development. | |
|
||
Sample | Description | C# | Node | ||
------------ | ------------- | :-----------: | :-----------: | ||
Doctor Code | A bot that teaches how to implement basic functionalities in a Skype bot | [View Sample](/Samples/Csharp/Fundamentals/DoctorCode) | [View Sample](/Samples/Node/Fundamentals/DoctorCode) | ||
Doctor Code | A bot that teaches how to implement basic functionalities in a Skype bot | [View Sample](/Samples/Csharp/Fundamentals/DoctorCode)[![Deploy to Azure][Deploy Button]][Deploy Csharp/Fundamentals/DoctorCode] | [View Sample](/Samples/Node/Fundamentals/DoctorCode)[![Deploy to Azure][Deploy Button]][Deploy Node/Fundamentals/DoctorCode] | ||
|
||
## Storage | ||
Learn how to store and retrieve information from Skype bot using cloud services. | ||
|
@@ -32,7 +32,8 @@ Add intelligent features to your bots using [Microsoft Cognitive Services](https | |
|
||
Sample | Description | C# | Node | ||
------------ | ------------- | :-----------: | :-----------: | ||
Fridge | A bot that manages your refrigerator inventory using LUIS (Language Understanding Intelligent Service) | [View Sample](/Samples/Csharp/CognitiveServices-Language/Fridge) | [View Sample](/Samples/Node/CognitiveServices-Language/Fridge) | ||
Fridge | A bot that manages your refrigerator inventory using LUIS (Language Understanding Intelligent Service). | [View Sample](/Samples/Csharp/CognitiveServices-Language/Fridge) | [View Sample](/Samples/Node/CognitiveServices-Language/Fridge)[![Deploy to Azure][Deploy Button]][Deploy Node/CognitiveServices-Language/Fridge] | ||
QnA | A bot that helps you get answers based on FAQs using QnAMaker service. | [View Sample](/Samples/Csharp/CognitiveServices-Knowledge/QnA)[![Deploy to Azure][Deploy Button]][Deploy Csharp/CognitiveServices-Knowledge/QnA] | [View Sample](/Samples/Node/CognitiveServices-Knowledge/QnA)[![Deploy to Azure][Deploy Button]][Deploy Node/CognitiveServices-Knowledge/QnA] | ||
|
||
## Contributing | ||
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. | ||
|
@@ -42,4 +43,11 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft. | |
contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
## License | ||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | ||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | ||
|
||
[Deploy Button]: https://azuredeploy.net/deploybutton.png | ||
[Deploy Csharp/Fundamentals/DoctorCode]: https://azuredeploy.net?repository=https://github.com/Microsoft/skype-dev-bots/tree/master/Samples/Csharp/Fundamentals/DoctorCode | ||
[Deploy Node/Fundamentals/DoctorCode]: https://azuredeploy.net?repository=https://github.com/Microsoft/skype-dev-bots/tree/master/Samples/Node/Fundamentals/DoctorCode | ||
[Deploy Node/CognitiveServices-Language/Fridge]: https://azuredeploy.net?repository=https://github.com/Microsoft/skype-dev-bots/tree/master/Samples/Node/CognitiveServices-Language/Fridge | ||
[Deploy Csharp/CognitiveServices-Knowledge/QnA]: https://azuredeploy.net?repository=https://github.com/Microsoft/skype-dev-bots/tree/master/Samples/Csharp/CognitiveServices-Knowledge/QnA | ||
[Deploy Node/CognitiveServices-Knowledge/QnA]: https://azuredeploy.net?repository=https://github.com/Microsoft/skype-dev-bots/tree/master/Samples/Node/CognitiveServices-Knowledge/QnA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
143 changes: 143 additions & 0 deletions
143
Samples/Csharp/CognitiveServices-Knowledge/QnA/azuredeploy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
{ | ||
"$schema": "http:https://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"siteName": { | ||
"defaultValue": "skype-dev-bots", | ||
"type": "string" | ||
}, | ||
"hostingPlanName": { | ||
"type": "string" | ||
}, | ||
"siteLocation": { | ||
"type": "string" | ||
}, | ||
"sku": { | ||
"type": "string", | ||
"allowedValues": [ | ||
"Free", | ||
"Shared", | ||
"Basic", | ||
"Standard" | ||
], | ||
"defaultValue": "Free" | ||
}, | ||
"workerSize": { | ||
"type": "string", | ||
"allowedValues": [ | ||
"0", | ||
"1", | ||
"2" | ||
], | ||
"defaultValue": "0" | ||
}, | ||
"repoUrl": { | ||
"type": "string" | ||
}, | ||
"branch": { | ||
"type": "string" | ||
}, | ||
"Project": { | ||
"type": "string", | ||
"defaultValue": "Samples/Csharp/CognitiveServices-Knowledge/QnA/Qna_Bot" | ||
}, | ||
"MicrosoftAppId": { | ||
"type": "string" | ||
}, | ||
"MicrosoftAppPassword": { | ||
"type": "string" | ||
}, | ||
"QnaSubscriptionKey": { | ||
"type": "string" | ||
}, | ||
"QnaKnowledgeBaseId": { | ||
"type": "string" | ||
}, | ||
"QnaBaseUrl": { | ||
"type": "string", | ||
"defaultValue": "https://westus.api.cognitive.microsoft.com/qnamaker/v2.0/" | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2014-06-01", | ||
"name": "[parameters('hostingPlanName')]", | ||
"type": "Microsoft.Web/serverFarms", | ||
"location": "[parameters('siteLocation')]", | ||
"properties": { | ||
"name": "[parameters('hostingPlanName')]", | ||
"sku": "[parameters('sku')]", | ||
"workerSize": "[parameters('workerSize')]", | ||
"numberOfWorkers": 1 | ||
} | ||
}, | ||
{ | ||
"apiVersion": "2014-06-01", | ||
"name": "[parameters('siteName')]", | ||
"type": "Microsoft.Web/Sites", | ||
"location": "[parameters('siteLocation')]", | ||
"dependsOn": [ | ||
"[concat('Microsoft.Web/serverFarms/', parameters('hostingPlanName'))]" | ||
], | ||
"tags": { | ||
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "empty" | ||
}, | ||
"properties": { | ||
"name": "[parameters('siteName')]", | ||
"serverFarm": "[parameters('hostingPlanName')]" | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2014-04-01", | ||
"type": "config", | ||
"name": "web", | ||
"dependsOn": [ | ||
"[concat('Microsoft.Web/Sites/', parameters('siteName'))]" | ||
], | ||
"properties": { | ||
"appSettings": [ | ||
{ | ||
"name": "Project", | ||
"value": "[parameters('Project')]" | ||
}, | ||
{ | ||
"name": "MicrosoftAppId", | ||
"value": "[parameters('MicrosoftAppId')]" | ||
}, | ||
{ | ||
"name": "MicrosoftAppPassword", | ||
"value": "[parameters('MicrosoftAppPassword')]" | ||
}, | ||
{ | ||
"name": "QnASubscriptionKey", | ||
"value": "[parameters('QnaSubscriptionKey')]" | ||
}, | ||
{ | ||
"name": "QnAKnowledgeBaseId", | ||
"value": "[parameters('QnaKnowledgeBaseId')]" | ||
}, | ||
{ | ||
"name": "QnABaseUrl", | ||
"value": "[parameters('QnaBaseUrl')]" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"apiVersion": "2014-04-01", | ||
"name": "web", | ||
"type": "sourcecontrols", | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]", | ||
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/web')]" | ||
], | ||
"properties": { | ||
"RepoUrl": "[parameters('repoUrl')]", | ||
"branch": "[parameters('branch')]", | ||
"IsManualIntegration": true | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
121 changes: 121 additions & 0 deletions
121
Samples/Csharp/Fundamentals/DoctorCode/azuredeploy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{ | ||
"$schema": "http:https://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"siteName": { | ||
"defaultValue": "skype-dev-bots", | ||
"type": "string" | ||
}, | ||
"hostingPlanName": { | ||
"type": "string" | ||
}, | ||
"siteLocation": { | ||
"type": "string" | ||
}, | ||
"sku": { | ||
"type": "string", | ||
"allowedValues": [ | ||
"Free", | ||
"Shared", | ||
"Basic", | ||
"Standard" | ||
], | ||
"defaultValue": "Free" | ||
}, | ||
"workerSize": { | ||
"type": "string", | ||
"allowedValues": [ | ||
"0", | ||
"1", | ||
"2" | ||
], | ||
"defaultValue": "0" | ||
}, | ||
"repoUrl": { | ||
"type": "string" | ||
}, | ||
"branch": { | ||
"type": "string" | ||
}, | ||
"Project": { | ||
"type": "string", | ||
"defaultValue": "Samples/Csharp/Fundamentals/DoctorCode/DrCodeBot" | ||
}, | ||
"MicrosoftAppId": { | ||
"type": "string" | ||
}, | ||
"MicrosoftAppPassword": { | ||
"type": "string" | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2014-06-01", | ||
"name": "[parameters('hostingPlanName')]", | ||
"type": "Microsoft.Web/serverFarms", | ||
"location": "[parameters('siteLocation')]", | ||
"properties": { | ||
"name": "[parameters('hostingPlanName')]", | ||
"sku": "[parameters('sku')]", | ||
"workerSize": "[parameters('workerSize')]", | ||
"numberOfWorkers": 1 | ||
} | ||
}, | ||
{ | ||
"apiVersion": "2014-06-01", | ||
"name": "[parameters('siteName')]", | ||
"type": "Microsoft.Web/Sites", | ||
"location": "[parameters('siteLocation')]", | ||
"dependsOn": [ | ||
"[concat('Microsoft.Web/serverFarms/', parameters('hostingPlanName'))]" | ||
], | ||
"tags": { | ||
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "empty" | ||
}, | ||
"properties": { | ||
"name": "[parameters('siteName')]", | ||
"serverFarm": "[parameters('hostingPlanName')]" | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2014-04-01", | ||
"type": "config", | ||
"name": "web", | ||
"dependsOn": [ | ||
"[concat('Microsoft.Web/Sites/', parameters('siteName'))]" | ||
], | ||
"properties": { | ||
"appSettings": [ | ||
{ | ||
"name": "Project", | ||
"value": "[parameters('Project')]" | ||
}, | ||
{ | ||
"name": "MicrosoftAppId", | ||
"value": "[parameters('MicrosoftAppId')]" | ||
}, | ||
{ | ||
"name": "MicrosoftAppPassword", | ||
"value": "[parameters('MicrosoftAppPassword')]" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"apiVersion": "2014-04-01", | ||
"name": "web", | ||
"type": "sourcecontrols", | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]", | ||
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/web')]" | ||
], | ||
"properties": { | ||
"RepoUrl": "[parameters('repoUrl')]", | ||
"branch": "[parameters('branch')]", | ||
"IsManualIntegration": true | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.