Skip to main content

Install Community Edition

The Community Edition of JustDeploy consists of various Powershell modules which can be installed to perform orchestration tasks. The modules can be installed from a public Azure DevOps project as a regular NuGet repository.

The following code will register the Azure DevOps feed as a PS repository and perform the installation.

[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
Install-PackageProvider -Name Nuget -MinimumVersion 2.8.5.201 -Force | Out-Null
$SBRepo = Get-PSRepository -Name 'JustDeploy' -ErrorAction SilentlyContinue
If ($SBRepo ) { Unregister-PSRepository -Name 'JustDeploy' }
$RepoParams = @{
Name = 'JustDeploy'
SourceLocation = 'https://pkgs.dev.azure.com/JustPlatform/Public/_packaging/JustDeploy-preview/nuget/v2'
PublishLocation = 'https://pkgs.dev.azure.com/JustPlatform/Public/_packaging/JustDeploy-preview/nuget/v2'
InstallationPolicy = 'Trusted'
}
Register-PSRepository @RepoParams | Out-Null
If (Get-Module -Name 'JustDeploy') { Remove-Module -Name 'JustDeploy' }
Install-Module 'JustDeploy' -Repository 'JustDeploy' -Force
Import-Module -Name 'JustDeploy' -Force
Install-JPModule -InstallType azure
$SBRepo = Get-PSRepository -Name 'JustDeploy' -ErrorAction SilentlyContinue
If ($SBRepo ) { Unregister-PSRepository -Name 'JustDeploy' }

The following Powershell modules will be installed into your default Powershell module path.

NameDescription
JustDeployMain SQLBuild module, typically the functions you call will be from this module.
JustDeploy.AzureModule specifically for the Azure cloud, these functions are called by the main SQLBuild module. You will typically not call functions within this module, unless you choose to create the resource objects programatically instead of using YAML, JSOn or some other input source.
JustDeploy.SQLModule specifically for SQL Server. These lower functions are called by the SQLBuild modules and you are unlikely to call any functions within this module.
JustDeploy.WindowsModule specifically for Windows. These lower functions are called by the SQLBuild modules and you are unlikely to call any functions within this module.
powershell-yamlYAML to JSON conversion module.
AzMicrosoft Azure Powershell modules.