You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/quickstart.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ This quickstart explains how to:
30
30
31
31
At the end of this quickstart, you'll have a working spring app running on Azure Spring Apps.
32
32
33
-
## [CLI](#tab/Azure-CLI)
33
+
## [Azure CLI](#tab/Azure-CLI)
34
34
35
35
### Prerequisites
36
36
@@ -44,14 +44,14 @@ At the end of this quickstart, you'll have a working spring app running on Azure
44
44
az account show
45
45
```
46
46
47
-
1. Azure Cloud Shell workspaces are temporary. On initial start, the shell prompts you to associate an [Azure Storage](/azure/storage/common/storage-introduction) with your subscription to persist files across sessions.
47
+
1. Azure Cloud Shell workspaces are temporary. On initial start, the shell prompts you to associate an [Azure Storage](/azure/storage/common/storage-introduction)instance with your subscription to persist files across sessions.
48
48
49
49
:::image type="content" source="media/quickstart/Azure-storage-subscription.png" alt-text="Screenshot of Azure Storage subscription.":::
50
50
51
-
1. After you log in successfully, use the following command to display a list of your subscriptions.
51
+
1. After you sign in successfully, use the following command to display a list of your subscriptions.
52
52
53
53
```azurecli-interactive
54
-
az account list -o table
54
+
az account list --output table
55
55
```
56
56
57
57
1. Use the following command to choose and link to your subscription.
@@ -60,7 +60,7 @@ At the end of this quickstart, you'll have a working spring app running on Azure
60
60
az account set --subscription <subscription-id>
61
61
```
62
62
63
-
1. Use the following command to create a Resource Group.
63
+
1. Use the following command to create a resource group.
64
64
65
65
```azurecli-interactive
66
66
az group create \
@@ -134,7 +134,9 @@ Deploying the application can take a few minutes.
134
134
135
135
### Generate a Spring project
136
136
137
-
Use [Spring Initializr](https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.6.10&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=hellospring&name=hellospring&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.hellospring&dependencies=web,cloud-eureka,actuator,cloud-config-client) to generate a sample project with recommended dependencies for Azure Spring Apps. The following URL provides default settings for you.
137
+
Use the following steps to create the project:
138
+
139
+
1. Use [Spring Initializr](https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.6.10&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=hellospring&name=hellospring&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.hellospring&dependencies=web,cloud-eureka,actuator,cloud-config-client) to generate a sample project with recommended dependencies for Azure Spring Apps. The following URL provides default settings for you.
@@ -185,8 +187,8 @@ Use the following steps to create an instance of Azure Spring Apps using the Azu
185
187
1.Fill out the form on the AzureSpringApps**Create** page. Consider the following guidelines:
186
188
187
189
-**Subscription**:Select the subscription you want to be billed forthis resource.
188
-
-**Resource group**:Creatingnew resource groups for new resources is a best practice. You'll use this resource group in later steps as *\<resource-group-name\>*.
189
-
- **Service Name**: Specify the **\<serviceinstancename\>**. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
190
+
-**Resource group**:Creatingnew resource groups for new resources is a best practice.
191
+
- **Service Name**: Specify the service instance name. You'll use this name later in this article where the *\<service-instance-name\>* placeholder appears. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
190
192
- **Region**: Select the region for your service instance.
191
193
192
194
:::image type="content" source="media/quickstart/portal-start.png" alt-text="Screenshot of Azure portal showing Azure Spring Apps Create page." lightbox="media/quickstart/portal-start.png":::
@@ -205,7 +207,7 @@ Use the following steps to import the project.
205
207
### Build and deploy your app
206
208
207
209
> [!NOTE]
208
-
>To run the project locally, add `spring.config.import=optional:configserver:` to the project's `application.properties` file.
210
+
>To run the project locally, add `spring.config.import=optional:configserver:` to the project's *application.properties* file.
209
211
210
212
1. If you haven't already installed the AzureToolkitforIntelliJ, follow the steps in [Install the AzureToolkitforIntelliJ](/azure/developer/java/toolkit-for-intellij/install-toolkit).
211
213
@@ -221,8 +223,8 @@ Use the following steps to import the project.
221
223
222
224
:::image type="content" source="media/quickstart/intellij-create-new-app.png" alt-text="Screenshot of IntelliJ IDEA showing Deploy Azure Spring Apps dialog box.":::
223
225
224
-
1. In the **App name:** textbox under **App Basics**, enter *hellospring*, and then check the **More settings** check box.
225
-
1. Select the **Enable** button next to **Public endpoint**. The button changes to *Disable \<to be enabled\>*.
226
+
1. In the **App name:** textbox under **App Basics**, enter *hellospring*, and then select the **More settings** check box.
227
+
1. Select the **Enable** button next to **Public endpoint**. The button changes to **Disable \<to be enabled\>**.
226
228
1. If you're using Java11, select **Java11**for the **Runtime** option.
0 commit comments