Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Viet Hoang
workshop
Commits
d2a6a096
Commit
d2a6a096
authored
Feb 21, 2020
by
Viet Hoang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Scripts for Sitecore Commerce 930
parent
2505dd93
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
471 additions
and
1 deletion
+471
-1
Scripts for Sitecore Commerce 930/Configuration/Commerce/CommerceEngine/CommerceEngine.Instance.Deploy.json
...mmerce/CommerceEngine/CommerceEngine.Instance.Deploy.json
+6
-1
Scripts for Sitecore Commerce 930/Configuration/Commerce/CommerceEngine/CommerceEngine.json
...Configuration/Commerce/CommerceEngine/CommerceEngine.json
+21
-0
Scripts for Sitecore Commerce 930/Configuration/Commerce/Master_SingleServer.json
...merce 930/Configuration/Commerce/Master_SingleServer.json
+4
-0
Scripts for Sitecore Commerce 930/GenerateClientSecret.ps1
Scripts for Sitecore Commerce 930/GenerateClientSecret.ps1
+7
-0
Scripts for Sitecore Commerce 930/sc930_com_install.ps1
Scripts for Sitecore Commerce 930/sc930_com_install.ps1
+433
-0
No files found.
Scripts for Sitecore Commerce 930/Configuration/Commerce/CommerceEngine/CommerceEngine.Instance.Deploy.json
View file @
d2a6a096
{
"Parameters"
:
{
"CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Description"
:
"The root path of commerce services."
,
"DefaultValue"
:
""
},
"CommerceEngineWdpFullPath"
:
{
"Type"
:
"string"
,
"Description"
:
"The path to the Web Deploy package to deploy."
,
...
...
@@ -181,7 +186,7 @@
"Environment.Name"
:
"[parameter('EnvironmentName')]"
,
"Host.Prefix"
:
"[parameter('HostPrefix')]"
,
"Minion.Instance"
:
"[parameter('MinionInstance')]"
,
"Site.PhysicalPath"
:
"[joinpath(
environment('SystemDrive'), 'inetpub', 'wwwr
oot', variable('Site.Name'))]"
,
"Site.PhysicalPath"
:
"[joinpath(
parameter('CommerceInstallR
oot'
)
, variable('Site.Name'))]"
,
"Client.Cert.Store"
:
"cert:
\\
LocalMachine
\\
My"
,
"Security.Localhost.CertificateThumbprint"
:
"[GetCertificateThumbprint('localhost', variable('Client.Cert.Store'))]"
,
"DnsName"
:
"[concat('*.', parameter('CommerceServicesHostPostfix'))]"
,
...
...
Scripts for Sitecore Commerce 930/Configuration/Commerce/CommerceEngine/CommerceEngine.json
View file @
d2a6a096
{
"Parameters"
:
{
"CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Description"
:
"The root path of commerce services."
,
"DefaultValue"
:
""
},
"SiteHostHeaderName"
:
{
"Type"
:
"string"
,
"Description"
:
"The host header name of the site to be deployed."
,
...
...
@@ -225,6 +230,10 @@
"CommerceEngine-Pre:RedisInstallationPath"
:
{
"Type"
:
"string"
,
"Reference"
:
"RedisInstallationPath"
},
"CommerceEngine-Ops:CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Reference"
:
"CommerceInstallRoot"
},
"CommerceEngine-Ops:CommerceEngineWdpFullPath"
:
{
"Type"
:
"string"
,
...
...
@@ -333,6 +342,10 @@
"CommerceEngine-Ops:RedisInstanceName"
:
{
"Type"
:
"string"
,
"Reference"
:
"RedisInstanceName"
},
"CommerceEngine-Shops:CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Reference"
:
"CommerceInstallRoot"
},
"CommerceEngine-Shops:CommerceEngineWdpFullPath"
:
{
"Type"
:
"string"
,
...
...
@@ -441,6 +454,10 @@
"CommerceEngine-Shops:RedisInstanceName"
:
{
"Type"
:
"string"
,
"Reference"
:
"RedisInstanceName"
},
"CommerceEngine-Authoring:CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Reference"
:
"CommerceInstallRoot"
},
"CommerceEngine-Authoring:CommerceEngineWdpFullPath"
:
{
"Type"
:
"string"
,
...
...
@@ -549,6 +566,10 @@
"CommerceEngine-Authoring:RedisInstanceName"
:
{
"Type"
:
"string"
,
"Reference"
:
"RedisInstanceName"
},
"CommerceEngine-Minions:CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Reference"
:
"CommerceInstallRoot"
},
"CommerceEngine-Minions:CommerceEngineWdpFullPath"
:
{
"Type"
:
"string"
,
...
...
Scripts for Sitecore Commerce 930/Configuration/Commerce/Master_SingleServer.json
View file @
d2a6a096
...
...
@@ -384,6 +384,10 @@
"Solr:SearchIndexPrefix"
:
{
"Type"
:
"string"
,
"Reference"
:
"SearchIndexPrefix"
},
"CommerceEngine:CommerceInstallRoot"
:
{
"Type"
:
"string"
,
"Reference"
:
"CommerceInstallRoot"
},
"CommerceEngine:SiteHostHeaderName"
:
{
"Type"
:
"string"
,
...
...
Scripts for Sitecore Commerce 930/GenerateClientSecret.ps1
0 → 100644
View file @
d2a6a096
$bytes
=
New-Object
Byte
[]
32
$rand
=
[
System.Security.Cryptography.RandomNumberGenerator
]::
Create
()
$rand
.
GetBytes
(
$bytes
)
$rand
.
Dispose
()
$newClientSecret
=
[
System.Convert
]::
ToBase64String
(
$bytes
)
Write-Host
$newClientSecret
\ No newline at end of file
Scripts for Sitecore Commerce 930/sc930_com_install.ps1
0 → 100644
View file @
d2a6a096
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment