Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbaranov committed Sep 3, 2018
2 parents e4f49de + 4ca6670 commit 941b0aa
Show file tree
Hide file tree
Showing 19 changed files with 3,035 additions and 515 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ Choose the compatible templates for your Sitecore version:
| AD 1.3.0 | Active Directory 1.3 |
| EXM 3.5.0 | Email Experience Manager 3.5.0 |
| SXA | Sitecore Experience Accelerator 1.3 - 1.6 for Sitecore 8.2 and Sitecore 9.0 |
| Sitecore XC 9.0.0 | Sitecore Experience Commerce 9.0 Initial |
| SXA Storefront 1.0 | SXA Storefront 1.0 for Sitecore XC 9.0 Initial |
| Sitecore XC 9.0.0 | Commerce 9.0 Initial, Commerce 9.0 Update-1. Use with templates: Sitecore 9.0.1, SXA 1.6, SXA Storefront 1.0 |
| Sitecore XC 9.0.2 | Commerce 9.0 Update-2. Use with templates: Sitecore 9.0.2, SXA 1.7.1, SXA Storefront 1.2 |
| SXA Storefront 1.0 | SXA Storefront 1.0. Use with templates: Sitecore 9.0.1, Sitecore XC 9.0.0, SXA 1.6 |
| SXA Storefront 1.2 | SXA Storefront 1.2. Use with templates: Sitecore 9.0.2, Sitecore XC 9.0.2, SXA 1.7.1 |


# Pre-deployment Checklist
1. Ensure you have the latest Azure PowerShell SDK installed
Expand Down
2 changes: 1 addition & 1 deletion SXA 1.7.1/xm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ In order to configure Sitecore deployment parameters to include Sitecore Experie
"cdSxaMsDeployPackageUrl" : "<URL of the WDP file Sitecore Experience Accelerator * CD.scwdp.zip>",
"cmSxaMsDeployPackageUrl" : "<URL of the WDP file Sitecore Experience Accelerator *.scwdp.zip>",
"speMsDeployPackageUrl" : "<URL of the WDP file Sitecore PowerShell Extensions *.scwdp.zip>",
"solrSupportSxaMsDeployPackageUrl" : "<URL of the WDP file SXA Solr Support *.scwdp.zip>",
"solrSupportSxaMsDeployPackageUrl" : "<URL of the WDP file SXA Solr Support *.scwdp.zip> Can be empty",
"templateLinkAccessToken" : "Access token for the template if stored under the Azure storage. Otherwise should be empty string"
}
}
Expand Down
1 change: 0 additions & 1 deletion SXA 1.7.1/xm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@

"solrSupportSxaMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').solrSupportSxaMsDeployPackageUrl]"
}
},
Expand Down
2 changes: 1 addition & 1 deletion SXA 1.7.1/xp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In order to configure Sitecore deployment parameters to include Sitecore Experie
"cdSxaMsDeployPackageUrl" : "<URL of the WDP file Sitecore Experience Accelerator * CD.scwdp.zip>",
"cmSxaMsDeployPackageUrl" : "<URL of the WDP file Sitecore Experience Accelerator *.scwdp.zip>",
"speMsDeployPackageUrl" : "<URL of the WDP file Sitecore PowerShell Extensions *.scwdp.zip>",
"solrSupportSxaMsDeployPackageUrl" : "<URL of the WDP file SXA Solr Support *.scwdp.zip>",
"solrSupportSxaMsDeployPackageUrl" : "<URL of the WDP file SXA Solr Support *.scwdp.zip> Can be empty",
"templateLinkAccessToken" : "Access token for the template if stored under the Azure storage. Otherwise should be empty string"
}
}
Expand Down
1 change: 0 additions & 1 deletion SXA 1.7.1/xp/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@

"solrSupportSxaMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').solrSupportSxaMsDeployPackageUrl]"
}
},
Expand Down
2 changes: 1 addition & 1 deletion SXA 1.7.1/xp0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In order to configure Sitecore deployment parameters to include Sitecore Experie
{
"cmSxaMsDeployPackageUrl": "<URL of the WDP file *_sxa.scwdp.zip>",
"speMsDeployPackageUrl": "<URL of the WDP file *_spe.scwdp.zip>",
"solrSupportSxaMsDeployPackageUrl" : "<URL of the WDP file SXA Solr Support *.scwdp.zip>",
"solrSupportSxaMsDeployPackageUrl" : "<URL of the WDP file SXA Solr Support *.scwdp.zip> Can be empty",
"templateLinkAccessToken" : "Access token for the template if stored under the Azure storage. Otherwise should be empty string"
}
}
Expand Down
1 change: 0 additions & 1 deletion SXA 1.7.1/xp0/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@

"solrSupportSxaMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').solrSupportSxaMsDeployPackageUrl]"
}
},
Expand Down
21 changes: 21 additions & 0 deletions SXA Storefront 1.2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Sitecore Experience Accelerator Storefront (SXA Storefront) module for Sitecore XP Environment


This template deploys the SXA Storefront module into a Sitecore XP Environment. SXA Storefront requires Sitecore XC and SXA modules.

SXA Storefront 1.2 is compatible with: Sitecore XP 9.0.2, Sitecore XC 9.0.2, SXA 1.7.1.

## Parameters

The **deploymentId** parameter is filled in by the PowerShell script.

| Parameter | Description
-----------------------------------------------|------------------------------------------------
| location | The geographical region of the current deployment.
| siteTitle | Long title of the Storefront site.
| sqlServerLogin | The name of the administrator account for Azure SQL server that will be created.
| sqlServerPassword | The password for the administrator account for Azure SQL server.
| sxaMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Web Deploy package (not an SXA Web Deploy package).
| sxaStorefrontMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Storefront Web Deploy package.
| sxaHabitatCatalogMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Habitat Catalog Web Deploy package.
| sxaStorefrontThemesMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Storefront Themes Web Deploy package
195 changes: 195 additions & 0 deletions SXA Storefront 1.2/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"variables": {
"webApiVersion": "2016-08-01",
"cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]",
"cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]",
"sqlServerFqdnTidy": "[toLower(trim(parameters('sqlServerFqdn')))]",
"masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseName')))]"
},
"parameters": {
"standard": {
"type": "secureObject",
"defaultValue": {
"infrastructure": {
"sqlServerFqdn": null
},
"deploymentId": null,
"location": null,
"sqlServerLogin": null,
"sqlServerPassword": null,
"masterSqlDatabaseName": null,
"cmWebAppName": null,
"cdWebAppName": null,
"xcRefDataWebAppName": null,
"xcCollectWebAppName": null,
"xcSearchWebAppName": null,
"maOpsWebAppName": null,
"maRepWebAppName": null
}
},
"extension": {
"type": "secureObject",
"defaultValue": {
"sxaMsDeployPackageUrl": null,
"sxaStorefrontMsDeployPackageUrl": null,
"sxaHabitatCatalogMsDeployPackageUrl": null,
"sxaStorefrontThemesMsDeployPackageUrl": null
}
},
"deploymentId": {
"type": "string",
"defaultValue": "[coalesce(parameters('standard').deploymentId, resourceGroup().name)]"
},
"location": {
"type": "string",
"minLength": 1,
"defaultValue": "[coalesce(parameters('standard').location, resourceGroup().location)]"
},
"sqlServerFqdn": {
"type": "string",
"minLength": 1,
"defaultValue": "[coalesce(parameters('standard').infrastructure.sqlServerFqdn, concat(parameters('deploymentId'), '-sql.database.windows.net'))]"
},
"sqlServerLogin": {
"type": "string",
"minLength": 1,
"defaultValue": "[parameters('standard').sqlServerLogin]"
},
"sqlServerPassword": {
"type": "securestring",
"minLength": 8,
"defaultValue": "[parameters('standard').sqlServerPassword]"
},
"masterSqlDatabaseName": {
"type": "string",
"minLength": 1,
"defaultValue": "[coalesce(parameters('standard').masterSqlDatabaseName, concat(parameters('deploymentId'), '-master-db'))]"
},
"cmWebAppName": {
"type": "string",
"minLength": 1,
"defaultValue": "[coalesce(parameters('standard').cmWebAppName, concat(parameters('deploymentId'), '-cm'))]"
},
"cdWebAppName": {
"type": "string",
"minLength": 1,
"defaultValue": "[coalesce(parameters('standard').cdWebAppName, concat(parameters('deploymentId'), '-cd'))]"
},
"sxaMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').sxaMsDeployPackageUrl]"
},
"sxaStorefrontMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').sxaStorefrontMsDeployPackageUrl]"
},
"sxaHabitatCatalogMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').sxaHabitatCatalogMsDeployPackageUrl]"
},
"sxaStorefrontThemesMsDeployPackageUrl": {
"type": "securestring",
"minLength": 1,
"defaultValue": "[parameters('extension').sxaStorefrontThemesMsDeployPackageUrl]"
}
},

"resources": [
{
"name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"properties": {
"addOnPackages": [
{
"packageUri": "[parameters('sxaMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cmWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
},
{
"packageUri": "[parameters('sxaHabitatCatalogMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cmWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
},
{
"packageUri": "[parameters('sxaStorefrontMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cmWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
},
{
"packageUri": "[parameters('sxaStorefrontThemesMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cmWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" }
}
]
}
},
{
"name": "[concat(variables('cdWebAppNameTidy'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ],
"properties": {
"addOnPackages": [
{
"packageUri": "[parameters('sxaMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cdWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
},
{
"packageUri": "[parameters('sxaHabitatCatalogMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cdWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
},
{
"packageUri": "[parameters('sxaStorefrontMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cdWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
},
{
"packageUri": "[parameters('sxaStorefrontThemesMsDeployPackageUrl')]",
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]",
"setParameters": {
"Application Path": "[variables('cdWebAppNameTidy')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" }
}
]
}
}
]
}
39 changes: 39 additions & 0 deletions SXA Storefront 1.2/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"deploymentId": {
"value": ""
},
"location": {
"value": ""
},
"siteName": {
"value": ""
},
"siteTitle": {
"value": ""
},
"sqlServerLogin": {
"value": ""
},
"sqlServerPassword": {
"value": ""
},
"environmentName": {
"value": ""
},
"sxaMsDeployPackageUrl": {
"value": ""
},
"sxaStorefrontMsDeployPackageUrl": {
"value": ""
},
"sxaHabitatCatalogMsDeployPackageUrl": {
"value": ""
},
"sxaStorefrontThemesMsDeployPackageUrl": {
"value": ""
}
}
}
Loading

0 comments on commit 941b0aa

Please sign in to comment.