Skip to content

Commit f2d9f87

Browse files
committed
Updating code fencing, reword some instructions
1 parent 52730fa commit f2d9f87

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

articles/spring-cloud/spring-cloud-quickstart-launch-app-portal.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,24 @@ It takes about 5 minutes for the service to deploy. Once it is deployed, the **
7777

7878
## Build and deploy microservice applications
7979

80-
1. Open a command window and run the following command to clone the sample app repository to your local machine.
80+
1. Open an [Azure Cloudshell](https://shell.azure.com) and clone the sample app repository to your local machine. Here, we first create a temporary directory called `source-code` before cloning the app.
8181

82-
```cli
82+
```azurecli
83+
mkdir source-code
84+
cd source-code
8385
git clone https://github.com/Azure-Samples/piggymetrics
8486
```
8587
86-
1. Build the project by running below command.
88+
1. Build the cloned package.
8789
88-
```cli
90+
```azurecli
8991
cd PiggyMetrics
9092
mvn clean package -DskipTests
9193
```
9294
9395
1. Login to Azure CLI and set your active subscription.
9496
95-
```cli
97+
```azurecli
9698
# Login to Azure CLI
9799
az login
98100
@@ -119,7 +121,7 @@ It takes about 5 minutes for the service to deploy. Once it is deployed, the **
119121
120122
1. Following the same pattern, create the `account-service` and `auth-service` applications and deploy their JAR files.
121123
122-
```cli
124+
```azurecli
123125
az spring-cloud app create -n account-service
124126
az spring-cloud app deploy -n account-service --jar-path ./account-service/target/account-service.jar
125127
az spring-cloud app create -n auth-service
@@ -131,8 +133,10 @@ It takes about 5 minutes for the service to deploy. Once it is deployed, the **
131133
## Assign a public endpoint to gateway
132134
133135
1. Open the **Apps** tab in the menu on the left.
134-
2. Select the `gateway` application to show the **Overview** page.
135-
3. Select **Assign Domain** to assign a public endpoint to gateway. This can a few minutes.
136+
137+
1. Select the `gateway` application to show the **Overview** page.
138+
139+
1. Select **Assign Domain** to assign a public endpoint to gateway. This can a few minutes.
136140
137141
![Screenshot of ASC portal](media/spring-cloud-quickstart-launch-app-portal/portal-endpoint.png)
138142

0 commit comments

Comments
 (0)