Skip to content

Commit

Permalink
Merge pull request #26 from pamelafox/upgrade-v2
Browse files Browse the repository at this point in the history
Update readme
  • Loading branch information
pamelafox committed Jul 5, 2023
2 parents 08d408a + 83cd1f1 commit 0b63937
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,29 @@ which relies on the `azure.yaml` file and the configuration files in the `infra`

Steps for deployment:

1. Sign up for a [free Azure account](https://azure.microsoft.com/free/)
2. Initialize a new `azd` environment:
1. Sign up for a [free Azure account](https://azure.microsoft.com/free/) and create an Azure Subscription.
3. Login to Azure:

```shell
azd init
azd auth login
```

It will prompt you to provide a name (like "staticmaps-func") that will later be used in the name of the deployed resources.

3. Provision and deploy all the resources:

```shell
azd up
```

It will prompt you to login, pick a subscription, and provide a location (like "eastus"). Then it will provision the resources in your account and deploy the latest code.
It will prompt you to provide an `azd` environment name (like "staticmaps"), select a subscription from your Azure account, and select a location (like "eastus"). Then it will provision the resources in your account and deploy the latest code.

4. Once it finishes deploying, navigate to the API endpoint URL from the output. Since the function is secured, you should see a 401 when navigating to the function endpoint. However, the CDN endpoint should successfully display the documentation.

5. When you've made any changes to the app code, you can just run:

```shell
azd deploy
```

### CI/CD pipeline

This project includes a Github workflow for deploying the resources to Azure
Expand Down

0 comments on commit 0b63937

Please sign in to comment.