Skip to content

Commit

Permalink
Minor tweaks to readme/install
Browse files Browse the repository at this point in the history
  • Loading branch information
tarjeieo committed Dec 21, 2023
1 parent 569dcbd commit f25e833
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Install/Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ $AdminSiteUrl = (@($Uri.Scheme, "://", $Uri.Authority) -join "").Replace(".share
$TemplatesBasePath = "$PSScriptRoot/Templates"
#endregion

Set-PnPTraceLog -Off

# TODO: Replace version from package.json/git-tag
Write-Host "Installing Prosjektportalen veimodul version 1.0.0" -ForegroundColor Cyan

Expand Down Expand Up @@ -63,7 +65,7 @@ if (-not $SkipSearchConfiguration.IsPresent) {
#region Apply Template
StartAction("Applying veimodul template")
Connect-PnPOnline -Url $Url -Interactive -ErrorAction Stop
Invoke-PnPSiteTemplate -Path "$($TemplatesBasePath)/veimodul.pnp" -ErrorAction Stop
Invoke-PnPSiteTemplate -Path "$($TemplatesBasePath)/veimodul.pnp" -ErrorAction Stop -WarningAction Ignore
EndAction
#endregion

Expand Down Expand Up @@ -134,3 +136,5 @@ if ($null -ne $CurrentUser.Email) {
Add-PnPListItem -List "Installasjonslogg" -Values $InstallEntry -ErrorAction SilentlyContinue >$null 2>&1

#endregion

Write-Host "Installation of veimodulen complete!" -ForegroundColor Green
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ Veimodulen installeres som et tillegg til Prosjektportalen 365. Ved å installer

## Installasjon

Forutsetninger:

- Du har installert Prosjektportalen 365 på et område
- Du er Term Store Administrator (pga. nye termer)
- Du er SharePoint Administrator (pga. søkekonfigurasjon)

Denne pakken kommer ikke bundlet med PnP.PowerShell. Vi anbefaler sterkt å installere med samme versjon som kommer med Prosjektportalen 365, som per 21.12.2023 er PnP.PowerShell 1.11.0.

1. Last ned release-pakken fra releases og pakk ut pakken lokalt
Expand Down

0 comments on commit f25e833

Please sign in to comment.