Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
49fb298
Release 07-07-2017 (#176)
RobStand Jul 7, 2017
0973c43
Sync with live for 7-7-17 release
RobStand Jul 7, 2017
12646e6
ISO 639-2 recommends use of the language codes in lower case (#175)
johnd-ms Jul 8, 2017
926f3c4
Update bot-builder-dotnet-quickstart.md
brandonh-msft Jul 6, 2017
d0cd730
Removing bad metadata (#183)
Jul 14, 2017
ac1c2eb
Release 07-14-2017 (#184)
Jul 14, 2017
010b980
Conversation designer (#178)
v-ducvo Jul 14, 2017
1e3591f
Conversation Designer going live (#188)
Jul 14, 2017
574e013
requires (#186)
johnd-ms Jul 14, 2017
1ce3e76
Merge branch 'master' into live
RobStand Jul 14, 2017
6f6c2c2
Dialog next steps (#177)
v-ducvo Jul 20, 2017
9743606
Release 7-20-2017
RobStand Jul 20, 2017
3361cd6
Sync for release
RobStand Jul 20, 2017
8d30028
Subscribe to bot events, always show bot online (#189)
johnd-ms Jul 20, 2017
ec98458
Changing author alias (#193)
RobStand Jul 20, 2017
b4ec305
links to best current samples, User Story 17067 (#185)
johnd-ms Jul 20, 2017
6c0f28c
Second effort for PR181 (#187)
johnd-ms Jul 20, 2017
9370c54
Groupme screencaps (#191)
johnd-ms Jul 20, 2017
6de5e70
Updates to Slack, GroupMe, sample links, next steps (#194)
Jul 20, 2017
2c3143e
Fixed broken anchor links from table to section in topic. (#195)
v-ducvo Jul 21, 2017
36215da
Adding NoIndex, NoFollow to metadata (#196)
RobStand Jul 24, 2017
2ba2d36
Merge branch 'live' into master
RobStand Jul 24, 2017
5d966b7
Release 7-24-2017 (#197)
RobStand Jul 24, 2017
df7db59
Merge branch 'live'
RobStand Jul 24, 2017
27620f9
Removing broken video
RobStand Jul 26, 2017
88128b2
Update bot-builder-nodejs-cortana-skill.md
Jul 28, 2017
b7400f1
Update bot-builder-nodejs-cortana-skill.md (#198)
Jul 28, 2017
79f5dd8
added dotnet scorable dialogs (#180)
matthewshim-ms Jul 28, 2017
07aafb8
Merge branch 'live' into master
Jul 28, 2017
bf01cb8
Update filenames.md
RobStand Jul 28, 2017
9f42eca
Added entries about the documentation (#206)
RobStand Jul 31, 2017
23fa10d
Slack review (#204)
johnd-ms Aug 1, 2017
229e7ef
Scorable review (#203)
Aug 1, 2017
34ad2cf
Grammar correction. Whose, not Who's (#33)
Jul 24, 2017
3a6f112
Updated to correct version of IISExpress (#35)
deankroker Jul 31, 2017
ab17c93
Update resources-tools-downloads.md (#31)
mschray Aug 1, 2017
2fc82cc
Changed AttachmentLayouts to AttachmentLayoutTypes (#38)
peterkaplan Aug 1, 2017
be39fd3
Release 08-01-2017 (#207)
RobStand Aug 1, 2017
b979a3b
Updating next step
RobStand Aug 1, 2017
0b6fc95
Fixing illegal bookmark usage
RobStand Aug 1, 2017
53a0d6f
Fixing build warning in dotnet reference
RobStand Aug 1, 2017
c1fc1a8
Fixing build warning in dotnet reference
RobStand Aug 1, 2017
346bb26
Staging for fix from nuget release
RobStand Aug 1, 2017
a87b3e1
Cropped out wechat icon. wechat is not supported (#209)
RobStand Aug 2, 2017
f65fd93
Merge branch 'master' into live
RobStand Aug 2, 2017
8334a16
three downloads for one template (#212)
johnd-ms Aug 2, 2017
886333d
Initialize open publishing repository: https://github.com/MicrosoftDo…
RobStand Aug 2, 2017
e65b0ca
Initialize open publishing repository: https://github.com/MicrosoftDo…
RobStand Aug 2, 2017
46db002
Fix for bug# 17564. Add gitter.im, specifically the BotBuilder ROOM (…
johnd-ms Aug 3, 2017
22b7e60
Merge branch 'live' into master
RobStand Aug 3, 2017
998faaa
Release 08-03-2017 (#217)
RobStand Aug 3, 2017
b9e944b
Sync live with master for release
RobStand Aug 3, 2017
20d2a36
Release 08-04-2017 (#221)
RobStand Aug 5, 2017
0287fa5
Merge branch 'live' into live-sync-work
RobStand Aug 7, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
],
"branches_to_filter": [],
"git_repository_url_open_to_public_contributors": "https://github.com/Microsoft/bot-framework-docs",
"git_repository_branch_open_to_public_contributors": "master",
"git_repository_branch_open_to_public_contributors": "live",
"skip_source_output_uploading": false,
"need_preview_pull_request": true,
"dependent_repositories": [
Expand Down Expand Up @@ -125,4 +125,4 @@
"dotnet/api"
],
"toc_path_need_to_split": "dotnet/api/toc.yml"
}
}
2 changes: 1 addition & 1 deletion articles/azure/azure-bot-service-continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/azure/azure-bot-service-debug-bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/azure/azure-bot-service-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/azure/azure-bot-service-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---
# Create a bot with the Azure Bot Service
Expand Down
2 changes: 1 addition & 1 deletion articles/azure/azure-bot-service-template-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/azure/azure-bot-service-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
3 changes: 1 addition & 2 deletions articles/bot-builder-overview-getstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: get-started-article
ms.prod: bot-framework
ms.date:
---
ms.date: 08/04/2017

# Start building bots with the Bot Framework

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-conversation-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-first-interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-pattern-embed-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-pattern-embed-web-site.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-pattern-handoff-human.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-pattern-knowledge-base.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-pattern-task-automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/bot-design-user-experience.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: mateusv
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/cognitive-services-bot-intelligence-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: rstand
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/debug-bots-locally-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: v-demak
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/deploy-bot-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: rstand
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
76 changes: 53 additions & 23 deletions articles/deploy-bot-local-git.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,71 +6,101 @@ ms.author: rstand
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.reviewer:
ms.date: 08/04/2017
---

# Deploy a bot to Azure from a local git repository

Azure allows continuous integration of your Git repository with your Azure deployment.
With continuous integration, when you change and build your bot's code, the bot will automatically deploy to Azure.
This tutorial shows you how to deploy a bot to Azure via continuous integration from local Git.
This tutorial shows you how to deploy a bot to Azure via continuous integration from a local Git repository.

> [!NOTE]
> If you created a bot with the Azure Bot Service, your bot deployment was part of the Azure Bot Service bot
> creation process.

## Prerequisites

You must have a Microsoft Azure subscription before you can deploy a bot to Azure. If you do not already have a subscription, you can register for a <a href="https://azure.microsoft.com/en-us/free/" target="_blank">free trial</a>. Additionally, the process described by this article requires <a href="https://git-scm.com/downloads" target="_blank">Git</a>.
You must have a Microsoft Azure subscription before you can deploy a bot to Azure. If you do not already have a subscription, you can register for a <a href="https://azure.microsoft.com/en-us/free/" target="_blank">free trial</a>. You will also need <a href="https://git-scm.com/downloads" target="_blank">Git</a>.

[!include[Pre-deployment considerations](~/includes/snippet-deploy-considerations.md)]

## Step 1: Install the Azure CLI

Install the Azure CLI by following the instructions <a href="https://docs.microsoft.com/en-us/azure/xplat-cli-install" target="_blank">here</a>.
Download and <a href="https://docs.microsoft.com/en-us/azure/xplat-cli-install" target="_blank">install the Azure CLI</a>.

## Step 2: Create and configure an Azure site

Login to your Azure account by running this command at the command prompt and following the instructions:
Open a command prompt, Powershell, or other console and log in to your Azure account using the following command:

```azurecli
az login
```
azure login

Afer you log in, run the following command to create a resource group. Specify the name of the resource group you want to create and the location, such as *westus*, where your bot will be deployed.

```azurecli
az group create --location <Location> --name <MyResourceGroup>
```

Next, run the following command to create a new Azure site and configure it for Git (where *\<appname\>* is the name of the site that you want to create):
Run the following command to create a plan. Specify a name for the plan and the resource group name you specified in the previous step.

```azurecli
az appservice plan create --name <MyPlan> --resource-group <MyResourceGroup> --sku FREE
```
azure site create --git <appname>

The next step is to create a new Azure site. Find your bot's handle in the [Bot Framework Portal](https://dev.botframework.com/) on your bot's **SETTINGS** page. Run the following command with your bot's handle, the name of the resource group, and the name of your plan:

```azurecli
az webapp create --name <MyBotHandle> --resource-group <MyResourceGroup> --plan <MyPlan>
```

Git requires a user name-password pair to deploy a bot. The user name and password are account-level. They are different from your Azure subscription credentials. The user name must be unique, and the password must be at least eight characters long, with two of the following three elements: letters, numbers, symbols. You create this deployment user only once and you can use it for all your Azure deployments. Record the user name and password. You need them to deploy the bot later.

Create a deployment account with the following command with a user name and a password:

```azurecli
az webapp deployment user set --user-name <UserName> --password <Password>
```

> [!TIP]
> The URL of the site that is created will be in the following format: *https://appname.azurewebsites.net*.
> If you get a **'Conflict'. Details: 409 error**, change the user name. If you get a **'Bad Request'. Details: 400 error**,
> use a stronger password.

Find the URL where Git will push your source code changes by running the following command:

```azurecli
az webapp deployment source config-local-git --name <MyBotHandle> --resource-group <MyResourceGroup> --query url --output tsv
```

Your URL will look similar to `https://<UserName>@<MyBotHandle>.scm.azurewebsites.net/<MyBotHandle>.git`.

Connect your local Git repository to the bot hosted on Azure. A dialog will appear where you must provide the user name and password credentials you created earlier.

```cli
cd <MyGitRepo>
git remote add azure <URLResultFromLastStep>
git push azure master
```

## Step 3: Commit changes to Git and push to the Azure site

To update the site with your latest changes, run the following commands to commit the changes and push those changes to the Azure site:

```
```cli
git add .
git commit -m "<your commit message>"
git push azure master
```

You will be prompted to enter your deployment credentials.
If you don't yet have them, you can configure them on the Azure Portal by following these steps:

1. Login to the <a href="http://portal.azure.com" target="_blank">Azure Portal</a>
2. Click the site that you've just created
3. Open the **Settings** blade
4. In the **PUBLISHING** section, click **Deployment credentials**, specify a username and password, and click save
![Deployment credentials](~/media/publishing-your-bot-deployment-credentials.png)
5. Return to the command prompt and provide the deployment credentials as requested

After you've entered your deployment credentials at the command prompt, your bot will be deployed to the Azure site.
A dialog will appear where you must provide the user name and password credentials you created earlier.

## Step 4: Test the connection to your bot

[!include[Verify connection to your bot](~/includes/snippet-verify-deployment-using-emulator.md)]

[!include[Post-deployment next steps](~/includes/snippet-deploy-next-steps.md)]
> [!NOTE]
> Because your bot runs on Azure, you must enter its **app ID** and **password** into the emulator to connect, and because it's running remotely, you might need to provide the emulator with a path to **ngrok** tunneling software on your computer.


[!include[Post-deployment next steps](~/includes/snippet-deploy-next-steps.md)]
2 changes: 1 addition & 1 deletion articles/deploy-bot-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---
# Deploy a bot to the cloud
Expand Down
2 changes: 1 addition & 1 deletion articles/deploy-bot-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: rstand
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
4 changes: 2 additions & 2 deletions articles/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"breadcrumb_path": "/bot-framework/breadcrumb/TOC.json",
"author": "RobStand",
"ms.prod": "bot-framework",
"searchScope": ["Bot Framework"],
"searchScope": ["BotFramework"],
"ms.date": "05/10/2017",
"titleSuffix": "Bot Framework"
},
Expand All @@ -55,4 +55,4 @@
"template": [],
"dest": "bot-framework"
}
}
}
2 changes: 1 addition & 1 deletion articles/dotnet/bot-builder-dotnet-activities.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/dotnet/bot-builder-dotnet-audio-calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
2 changes: 1 addition & 1 deletion articles/dotnet/bot-builder-dotnet-channeldata.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: kibrandl
manager: rstand
ms.topic: article
ms.prod: bot-framework
ms.date:
ms.date: 08/04/2017
ms.reviewer:
---

Expand Down
Loading