-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameters.ps1
58 lines (51 loc) · 1.74 KB
/
parameters.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# General Args
$prefix = 'demo_sxa'
$configsRoot = Join-Path $PSScriptRoot 'configs'
$packagesRoot = Join-Path $PSScriptRoot 'packages'
$licenseFilePath = Join-Path $PSScriptRoot 'license.xml'
$sqlServer = 'localhost'
$sqlServerAdminUser = 'sa'
$sqlServerAdminPassword = 'blank'
$sitecoreVersion = 'Sitecore 9.0.2 rev. 180604'
$xconnectCertificateName = "$prefix.xconnect"
$instanceNames = @{
Sitecore = "${prefix}"
XConnect = "${prefix}.xconnect"
}
$solr = @{
Root = 'c:\solr\solr-6.6.2\'
Service = 'solr-6.6.2'
}
### Sitecore ###
# Configre Sitecore Solr
$sitecoreSolr = @{
Path = Join-Path $configsRoot sitecore-solr.json
SolrRoot = $solr.Root
SolrService = $solr.Service
CorePrefix = $prefix
}
# Install Sitecore
$sitecore = @{
Path = Join-Path $configsRoot sitecore-xm0.json
Package = Join-Path $packagesRoot "$sitecoreVersion (OnPrem)_cm.scwdp.zip"
LicenseFile = $licenseFilePath
SqlDbPrefix = $prefix
SolrCorePrefix = $prefix
SiteName = $instanceNames.Sitecore
SqlServer = $sqlServer
SqlAdminUser = $sqlServerAdminUser
SqlAdminPassword = $sqlServerAdminPassword
}
### Modules ###
# Install PowerShell extensions
$powershellExtensions = @{
Path = Join-Path $configsRoot install-package.json
Package = Join-Path $packagesRoot 'Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip'
SiteName = $prefix
}
# Install SXA
$sxa = @{
Path = Join-Path $configsRoot install-package.json
Package = Join-Path $packagesRoot 'Sitecore Experience Accelerator 1.7.1 rev. 180604 for 9.0.zip'
SiteName = $prefix
}