Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken links #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AD 1.3.0/xm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In order to configure Sitecore deployment parameters to include Active Directory
```JSON
{
"name": "active-directory",
"templateLink": "https://raw.githubusercontent.com/Sitecore/sitecore-azure-quickstart-templates/master/ad%201.3.0/xm/azuredeploy.json",
"templateLink": "https://raw.githubusercontent.com/atp0303/Sitecore-Azure-Quickstart-Templates/master/AD%201.3.0/xm/azuredeploy.json",
"parameters": {
"adMsDeployPackageUrl" : "<URL of the WDP file *.scwdp.zip>"
}
Expand Down
2 changes: 1 addition & 1 deletion AD 1.3.0/xp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In order to configure Sitecore deployment parameters to include Active Directory
```JSON
{
"name": "active-directory",
"templateLink": "https://raw.githubusercontent.com/Sitecore/sitecore-azure-quickstart-templates/master/ad%201.3.0/xp/azuredeploy.json",
"templateLink": "https://raw.githubusercontent.com/atp0303/Sitecore-Azure-Quickstart-Templates/master/AD%201.3.0/xp/azuredeploy.json",
"parameters": {
"adMsDeployPackageUrl" : "<URL of the WDP file *.scwdp.zip>"
}
Expand Down
2 changes: 1 addition & 1 deletion AD 1.3.0/xp0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In order to configure Sitecore deployment parameters to include Active Directory
```JSON
{
"name": "active-directory",
"templateLink": "https://raw.githubusercontent.com/Sitecore/sitecore-azure-quickstart-templates/master/ad%201.3.0/xp0/azuredeploy.json",
"templateLink": "https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/AD%201.3.0/xp0/azuredeploy.json",
"parameters": {
"adMsDeployPackageUrl" : "<URL of the WDP file *.scwdp.zip>"
}
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ Below is a sample PowerShell script that can help you to get up and running quic

```PowerShell
$ArmTemplateUrl = "AZUREDEPLOY_JSON_URL";
$ArmParametersPath = ".\xp\azuredeploy.parameters.json";

# read the contents of your Sitecore license file
$licenseFileContent = Get-Content -Raw -Encoding UTF8 -Path ".\license.xml" | Out-String;
$licenseFileContent = Get-Content ((Read-Host "Enter Sitecore license path") -replace '"') -Raw -Encoding UTF8 | Out-String
$Name = "RESOURCE_GROUP_NAME";
$location = "AZURE_DATA_CENTER_NAME";
$AzureSubscriptionId = "AZURE_SUBSCRIPTION_ID";
Expand All @@ -37,11 +36,11 @@ $AzureSubscriptionId = "AZURE_SUBSCRIPTION_ID";
# license file needs to be secure string and adding the params as a hashtable is the only way to do it
$additionalParams = New-Object -TypeName Hashtable;

$params = Get-Content $ArmParametersPath -Raw | ConvertFrom-Json;
$params = Get-Content ((Read-Host "Enter Azure Parameters File") -replace '"') -Raw | ConvertFrom-Json;

foreach($p in $params | Get-Member -MemberType *Property)
foreach($p in $params.parameters | Get-Member -MemberType *Property)
{
$additionalParams.Add($p.Name, $params.$($p.Name).value);
$additionalParams.Add($p.Name, $params.parameters.$($p.Name).value);
}

$additionalParams.Set_Item('licenseXml', $licenseFileContent);
Expand Down