Skip to content

Commit

Permalink
Merge pull request #1274 from OfficeDev/huajie/fixclilink
Browse files Browse the repository at this point in the history
fix: cli broken link and naming
  • Loading branch information
eriolchan committed May 16, 2024
2 parents 53893ba + d8a2277 commit abc25fa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions bot-sso-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ This sample demonstrate how to containerize a Teams App and integrate the Docker
BOT_DOMAIN=sample-id-3978.devtunnels.ms
BOT_ENDPOINT=https://sample-id-3978.devtunnels.ms
```
1. Run command: `teamsfx provision --env local` .
1. Run command: `teamsapp provision --env local` .
1. Run command: `docker build -t sso-bot ./` .
1. Run command: `docker run -p 3978:80 --env-file .localConfigs sso-bot` .
1. Run command: `teamsfx preview --open-only` .
1. Run command: `teamsapp preview --open-only` .

### Deploy the app to Azure

Expand All @@ -77,17 +77,17 @@ This sample demonstrate how to containerize a Teams App and integrate the Docker
1. Login Azure CLI with commands: `az login` and `az account set -s <subscription-id>`.
1. Click `Deploy` or open the command palette and select: `Teams: Deploy`.
- From TeamsFx CLI:
1. Run command: `teamsfx account login azure` .
1. Run command: `teamsfx provision --env dev` .
1. Run command: `teamsapp account login azure` .
1. Run command: `teamsapp provision --env dev` .
1. Run command: `az login` .
1. Run command: `teamsfx deploy --env dev` .
1. Run command: `teamsapp deploy --env dev` .

### Preview the app in Teams

- From VS Code:
1. Open the `Run and Debug Activity` Panel. Select `Launch Remote (Edge)` or `Launch Remote (Chrome)` from the launch configuration drop-down.
- From TeamsFx CLI:
1. Run command: `teamsfx preview --env dev`.
1. Run command: `teamsapp preview --env dev`.

## Further reading

Expand Down
2 changes: 1 addition & 1 deletion hello-world-tab-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Hello World Tab with Backend shows you how to build a tab app with an Azure Func

- [Docker Engine](https://docs.docker.com/engine/install/)
- A Microsoft 365 account. If you do not have Microsoft 365 account, apply one from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program)
- [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) version 5.0.0 and higher or [TeamsFx CLI](https://aka.ms/teamsfx-cli)
- [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) version 5.0.0 and higher or [TeamsFx CLI](https://aka.ms/teams-toolkit-cli)
- [Azure Cli](https://learn.microsoft.com/cli/azure/install-azure-cli) for Azure Container Apps deployment

# Note
Expand Down
2 changes: 1 addition & 1 deletion hello-world-tab-docker/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Functions are a great way to add server-side behaviors to any Teams applic

- [Docker Engine](https://docs.docker.com/engine/install/)
- A Microsoft 365 account. If you do not have Microsoft 365 account, apply one from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program)
- [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) version 5.0.0 and higher or [TeamsFx CLI](https://aka.ms/teamsfx-cli)
- [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) version 5.0.0 and higher or [TeamsFx CLI](https://aka.ms/teams-toolkit-cli)

## Develop

Expand Down

0 comments on commit abc25fa

Please sign in to comment.