From c933e259ccf83726a85ab1b4cb09ffc8606229d8 Mon Sep 17 00:00:00 2001 From: Jed Laundry Date: Sat, 3 Dec 2022 09:26:55 +1300 Subject: [PATCH] Update tip364.md --- blog/tip364.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/blog/tip364.md b/blog/tip364.md index 9cd0385216..7671c58cdd 100644 --- a/blog/tip364.md +++ b/blog/tip364.md @@ -4,7 +4,7 @@ title: "Tip 364 - How to work with your Azure apps in GitHub Codespaces" excerpt: "Learn how to work with your Azure apps in GitHub Codespaces" tags: [DevOps, Developer Tools] share: true -date: 2022-05-10 10:00:00 +date: 2022-12-03 10:00:00 --- ::: tip @@ -56,12 +56,10 @@ Let's create an Azure Function and run it. 2. Search for the **Azure Functions extension**. 3. Install the official [Azure Functions extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions&?WT.mc_id=microsoft-azuredevtips-azureappsdev) and click **reload** to reload the environment 4. We just need one more thing: the **Azure Functions Core Tooling**. Open the **Terminal** (Menu > Terminal > New Terminal) -5. Install the Azure Functions Core tooling by executing the following command in the Terminal: - -``` -npm i -g azure-functions-core-tools@4 --unsafe-perm true -``` - +5. Install the Azure Functions Core tooling by opening the **Command Palette** (Menu > View > Command Palette) + 1. In the Command Palette, type **Codespaces: Configure Dev Container Features** + 2. Select the **Azure Functions Core Tools** feature + 3. When prompted, click **Rebuild Now** 6. Next, open the **Command Palette** (Menu > View > Command Palette) 7. In the Command Palette, type **Azure Functions: Create New Project** 1. Select **the repository folder** in which to store the files for the project @@ -86,4 +84,4 @@ npm i -g azure-functions-core-tools@4 --unsafe-perm true (Azure Function called from local machine) #### Conclusion -[GitHub Codespaces](https://docs.github.com/codespaces/overview?WT.mc_id=github-azuredevtips-azureappsdev) provides a full-fledged development environment in the cloud that you can access from your browser, or from your local [VS Code](https://code.visualstudio.com/?WT.mc_id=other-azuredevtips-azureappsdev). It can replace your development computer and enables you to do compute-intensive work from any device that has a browser. Go and check it out! \ No newline at end of file +[GitHub Codespaces](https://docs.github.com/codespaces/overview?WT.mc_id=github-azuredevtips-azureappsdev) provides a full-fledged development environment in the cloud that you can access from your browser, or from your local [VS Code](https://code.visualstudio.com/?WT.mc_id=other-azuredevtips-azureappsdev). It can replace your development computer and enables you to do compute-intensive work from any device that has a browser. Go and check it out!