Skip to content

Commit

Permalink
made doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
murthy-vmware committed Oct 31, 2022
1 parent b9c2da8 commit e8222b8
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ override.tf.json
.terraformrc
terraform.rc


workshops/azure-spring-apps-enterprise/scripts/setup-env-variables.sh
workshops/azure-spring-apps-enterprise/scripts/setup-keyvault-env-variables.sh
scripts/setup-db-env-variables.sh

Expand Down
13 changes: 13 additions & 0 deletions scripts/setup-env-variables.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export SUBSCRIPTION=CHANGE-ME # replace it with your subscription-id
export RESOURCE_GROUP=acme-fitness-rg # existing resource group or one that will be created in next steps
export SPRING_APPS_SERVICE=acme-fitness-YOUR-UNIQUE-USERNAME # A unique name of the service that will be created in the next steps
export LOG_ANALYTICS_WORKSPACE=acme-fitness-la-CHANGE-ME # existing workspace or one that will be created in next steps
export REGION=CHANGE-ME # choose a region with Enterprise tier support

export CART_SERVICE_APP="cart-service"
export IDENTITY_SERVICE_APP="identity-service"
export ORDER_SERVICE_APP="order-service"
export PAYMENT_SERVICE_APP="payment-service"
export CATALOG_SERVICE_APP="catalog-service"
export FRONTEND_APP="frontend"

Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ After successful completion of this step verify that the resource group and all

[Resource Group](images/arm-resourcegroup.png)

Another optional step is to create ASA-E instance using ARM template. While the step before is processing, we can use the below ARM template to provision ASA-E instance. Please choose the Resource Group that was created as part of the above step. If you were using all the default values, the resource group name should be acme-fitness-rg.

[![Deploy to Azure](images/deploybutton.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fAzure-Samples%2facme-fitness-store%2fAzure%2fworkshops%2fazure-spring-apps-enterprise%2ffull%2f03-workshop-environment-setup%2fasae.json)

The above template takes 15-20 mins to complete.

## Launch Github Codspaces
This workshop leverages Github Codespaces to provide a development environment for running the instructions. Certainly you can run these instruction from a shell. But for people trying to get familiar with ASA-E for the first time, to rule out any environment related issues we recommend using Github Codespaces.

Expand All @@ -66,10 +60,6 @@ This and following steps should be completed from within the terminal of your VS

Create a bash script with environment variables by making a copy of the supplied template:

```shell
cp ./scripts/setup-env-variables-template.sh ./scripts/setup-env-variables.sh
```

Open `./scripts/setup-env-variables.sh` and update the following variables:

```shell
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export SUBSCRIPTION=c4a30c8e-eb68-47c8-87a6-c6ec0e7fc5dd # replace it with your subscription-id
export RESOURCE_GROUP=acme-fitness-12-rg # existing resource group or one that will be created in next steps
export SPRING_APPS_SERVICE=acme-fitness-12 # name of the service that will be created in the next steps
export LOG_ANALYTICS_WORKSPACE=acme-fitness-12-la-caak # existing workspace or one that will be created in next steps
export REGION=centralus # choose a region with Enterprise tier support

export CART_SERVICE_APP="cart-service"
export IDENTITY_SERVICE_APP="identity-service"
export ORDER_SERVICE_APP="order-service"
export PAYMENT_SERVICE_APP="payment-service"
export CATALOG_SERVICE_APP="catalog-service"
export FRONTEND_APP="frontend"

export CUSTOM_BUILDER="no-bindings-builder"

0 comments on commit e8222b8

Please sign in to comment.