Skip to main content

OwlGen Deployment using PowerShell

Follow the below sections to deploy OwlGen using powershell.

The pre-requisites to deploy OwlGen are as follows. Make sure that the following are already installed in the machine.

  • PowerShell 7.0 and above
  • AZ PowerShell Module

Getting Started​

Follow these steps to get started:

  1. Download the OwlGen release files from release folder.
  2. Run PowerShell as administrator and navigate to OwlGen folder using the following command: cd <App_Dev_Studio_folder_path>

OwlGen Folder

Edit Configuration​

Follow these steps to edit the configuration:

  1. Open installConfig.json from OwlGen folder in a text editor and configure the following properties as required to create infrastructure and deploy OwlGen.
PropertyDescriptionComments
subscriptionIdProvide the subscription id of Azure where resources are available.-
resourceGroupNameProvide the name of the resource group.-
resourceNamePrefixProvide the name of the prefix.-
environmentProvide the environment name.-
isLocalDeploymentSpecify whether the deployment is local. Either Yes or No.-
skipIdentityIntegrationSpecify whether to skip the identity server integration. Either Yes or No.-
updateInfraIfExistsSpecify whether to update infra if already available.-
App Service Plan
operatingSystemProvide the operating system name.-
appServicePlanNameProvide the name of the app service plan.-
Application Insights
EnableApplicationInsightsSpecify whether the application insights are enabled.-
AppInsightsConnectionStringProvide the connection string to connect to application insights.-
Storage Account
storageAccountNameProvide the storage account name.-
tableNameProvide the table name.-
storageAccountKeyProvide the storage account key.-
storageAccountConnectionStringProvide the connection string to connect to storage account.-
Backup Storage Account
backupStorageContainerNameProvide the storage account container name.-
backupStorageConnectionStringProvide the connection string to connect to backup storage account.-
App Settings
authorityUrlProvide the identity server authority URL.This property is required only when skipIdentityIntegration is set to No.
identityAPIUrlProvide the identity API URL.This property is required only when skipIdentityIntegration is set to No.

Edit Configuration

Deploy​

Follow these steps to deploy:

  1. In PowerShell, execute the following command to deploy OwlGen. .\Install.ps1
  2. Provide the Azure credentials to continue.

With the provided configuration, the corresponding infrastructure will be created, and OwlGen will be deployed.

Note: If any error occurs, an appropriate error message will be displayed. Users can resolve the error and re-execute the script to deploy.

Deploy Step 1 Deploy Step 2 Deploy Step 3

Upgrade OwlGen​

Follow the below steps to upgrade OwlGen:

  1. Edit the configuration as required. Refer to Edit Configuration section.
  2. Follow the steps given in Deploy Section to deploy the upgraded application.