- https://containers.doc.sitecore.com/docs/intro
- https://www.youtube.com/user/mastersitecore (check out docker and containers)
- https://sitecore.gallery.video/detail/videos/featured/video/6176364412001/sitecore-10---developer-tour?autoStart=true
- https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html
- https://www.slideshare.net/BartPlasmeijer/sitecore-loves-containers
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
# escape=` | |
ARG BASE_IMAGE | |
ARG BUILD_IMAGE | |
FROM ${BUILD_IMAGE} AS prep | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | |
# Gather only artifacts necessary for NuGet restore, retaining directory structure | |
COPY *.sln nuget.config Directory.Build.targets Packages.props \nuget\ |
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
- task: qetza.replacetokens.replacetokens-task.replacetokens@3 | |
displayName: 'Replace Docker Environment Variables' | |
inputs: | |
rootDirectory: '<Insert Path>' | |
targetFiles: '**/*.config' | |
encoding: 'auto' | |
writeBOM: true | |
actionOnMissing: 'warn' | |
keepToken: false | |
tokenPrefix: '$(env:' |
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( | |
[Parameter()] | |
[switch]$NoBuild, | |
[Parameter()] | |
[switch]$NoSync, | |
[Parameter()] | |
[string]$CmHost="https://habitatstarterkit.local", | |
[Parameter()] | |
[string]$SolutionName="HabitatStarterKit.sln", | |
[Parameter()] |
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
<# | |
.SYNOPSIS | |
Data Import Wizard provides a way to generate or update content from an external file. | |
.DESCRIPTION | |
The import file uses the properties "Name" and "Id" to help match existing items. | |
.NOTES | |
Requires Sitecore PowerShell Extensions 4.6 or newer. | |
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
<# | |
.SYNOPSIS | |
Updates the Workflow and Workflow state fields of content items with the given $workflowID and $workflowStateID values. | |
.DESCRIPTION | |
This script can be used when existing content is not assigned to a workflow and workflow state while it should be. | |
This scenario usually occurs when a workflow is assigned to a template but there is already content created based on a previous version of that template (where the workflow was not yet assigned). |
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
services: | |
traefik: | |
image: traefik:v${TRAEFIK_VERSION}-nanoserver-${NANOSERVER_VERSION} | |
build: | |
context: . | |
args: | |
NANOSERVER_VERSION: ${NANOSERVER_VERSION} | |
TRAEFIK_VERSION: '${TRAEFIK_VERSION}' | |
... |
- https://containers.doc.sitecore.com/docs/intro
- https://www.youtube.com/user/mastersitecore (check out docker and containers)
- https://sitecore.gallery.video/detail/videos/featured/video/6176364412001/sitecore-10---developer-tour?autoStart=true
- https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html
- https://www.slideshare.net/BartPlasmeijer/sitecore-loves-containers
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
Set-ExecutionPolicy RemoteSigned -Force; Set-ExecutionPolicy Unrestricted -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install dotnetcore -y | |
choco install dotnetcore-sdk -y | |
choco install webdeploy -y | |
choco install dotnetfx -y | |
choco install netfx-4.8 -y | |
choco install powershell-core -y | |
choco install azure-cli -y | |
choco install git -y | |
choco install sourcetree -y |
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
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
/** | |
* Fetch and log a request | |
* @param {Request} request | |
*/ | |
async function handleRequest(request) { | |
// Parse request URL to get access to query string |