Skip to content

Instantly share code, notes, and snippets.

@warrenbuckley
Last active December 16, 2015 18:19
Show Gist options
  • Save warrenbuckley/5476346 to your computer and use it in GitHub Desktop.
Save warrenbuckley/5476346 to your computer and use it in GitHub Desktop.
Umbraco API in Nugget install PowerShell
#Umbraco Power shell API
#Default Nugget Params
param($installPath, $toolsPath, $package, $project)
if ($project) {
#Connect to Umbraco Services API
#Create Home DocumentType
#Create Properties on Home DocumentType
#Create TextPage DocumentType
#Create Properties on TextPage
#Set TextPage as child of Home DocType
#Create Homepage page at Root
#Fill values on homepage - save & publish
#Create child TextPage node
#fill values on TextPage - save & publish
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment