This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding(DefaultParameterSetName = "no-arguments")] | |
param( | |
[Parameter(HelpMessage = "Name of the resource group in Azure to target.")] | |
[string]$ResourceGroupName, | |
[Parameter(HelpMessage = "Name of the web app in Azure to target.")] | |
[string]$WebAppName, | |
[Parameter(HelpMessage = "Path to the WDP to deploy to the target.")] | |
[string]$WdpPackagePath, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module .\Unicorn.psm1 | |
function Wait-UnicornOnline | |
{ | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory)] | |
[string]$Uri, | |
[int]$MaxAttempts = 10 | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module -Name SitecoreInstallFramework -Force -RequiredVersion 2.2.0 | |
# Installer files and packages | |
$VisualCPP2015x64 = Resolve-Path "..\..\Packages\vc_redist.x64.exe" | |
$SqlServerPSModulePackageFolder = Resolve-Path "..\..\Packages\" | |
$SharedManagementObjectsInstallerx86 = Resolve-Path "..\..\Packages\SharedManagementObjects_x86.msi" | |
$SharedManagementObjectsInstallerx64 = Resolve-Path "..\..\Packages\SharedManagementObjects_x64.msi" | |
$WebDeployInstaller = Resolve-Path "..\..\Packages\WebDeploy_amd64_en-US.msi" | |
$URLRewriteInstaller = Resolve-Path "..\..\Packages\rewrite_amd64_en-US.msi" | |
$SQLClrTypesx86 = Resolve-Path "..\..\Packages\SQLSysClrTypes_x86.msi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="C#" autoeventwireup="true" inherits="Sitecore.sitecore.admin.AdminPage" %> | |
<%@ import namespace="Sitecore.Abstractions" %> | |
<%@ import namespace="Sitecore.Jobs" %> | |
<%@ import namespace="Sitecore.Shell.Applications.Globalization.ImportLanguage" %> | |
<script runat="server"> | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
CheckSecurity(true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
$installFolder = "c:\", | |
$solrPort = "8983", | |
$solrHost = "solr881", | |
$solrSSL = $true, | |
$downloadFolder = "$env:Temp" | |
) | |
$solrVersion = "8.1.1" | |
$solrName = "solr-$solrVersion" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Resources; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
using Microsoft.Build.Framework; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[string]$ThemePath = "sitecore\media library\Themes\Project\Shared\Project", | |
[string]$FilesPath = ".\-\media\Themes\Project\Shared\Project", | |
[string]$TdsPath = "..\Project\TDS.Master", | |
[string]$TdsProject = "TDS.Master.scproj", | |
[string]$TypeLoadPath = ".\Binaries", | |
[string]$UpdateFile = "", | |
[string]$DeleteFile = "", | |
[string]$ItemId = "" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore role:require="Standalone or ContentManagement"> | |
<pipelines> | |
<mvc.renderRendering> | |
<processor type="Project.EXM.Pipelines.RenderRendering.ExmTableRewriter, Project.EXM"/> | |
</mvc.renderRendering> | |
</pipelines> | |
</sitecore> | |
</configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Data; | |
using Sitecore.Data.Fields; | |
using Sitecore.Data.Items; | |
using Sitecore.Diagnostics; | |
using Sitecore.Mvc.Presentation; | |
using Sitecore.Resources.Media; | |
namespace Foundation.Extensions | |
{ | |
public static class RenderingParametersExtensions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
When the app runs in disconnected mode, and Sitecore is not present, we need to give | |
the app copies of the Sitecore APIs it depends on (layout service, dictionary service, content service) | |
to talk to so that the app can run using the locally defined disconnected data. | |
This is accomplished by spinning up a small Express server that mocks the APIs, and then | |
telling the dev server to proxy requests to the API paths to this express instance. | |
*/ | |
// these environment variables are necessary for Vue to allow us |
NewerOlder