Home

Awesome

Sitecore SPEAK3 starter template

This repository contains Speak 3 starter template.

This project was generated with Angular CLI version 1.2.7.

Development server

Run npm run start for a disconnected mode. Navigate to http://localhost:4123/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Setup

  1. Set the variables in init.ps1 (see below).
  2. Run init.ps1 script
  3. Run npm install command
  4. Run application in disconnected mode, run npm run start command
  5. Run npm run deploy command

npm run deploy command will build the application, copy files into your Sitecore instance and open the application in sitecore

Variables

VariablePurpose
$applicationNameThis will be your application name
$applicationTitleApplication name which appears in the browser's title
$instanceWebRootWebroot of your Sitecore instance
$instanceHostUrl of your Sitecore instance