Skip to content

Commit

Permalink
Scripts + move source to source
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Mar 22, 2018
1 parent e4b634d commit 5c1f402
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CreateDevEnv.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$mylicense = "c:\temp\mylicense.flf"
$imageName = "microsoft/dynamics-nav:2017-cu13"
$sourceFolder = Join-Path $PSScriptRoot "Source"
$containerName = Split-Path $PSScriptRoot -Leaf
New-NavContainer -accept_eula `
-containerName $containerName `
-imageName $imageName `
-auth Windows `
-licensefile $mylicense `
-updateHosts `
-includeCSide `
-additionalParameters @("--volume ${sourceFolder}:c:\source")
Import-DeltasToNavContainer -containerName $containerName -deltaFolder $sourceFolder -compile
3 changes: 3 additions & 0 deletions GetChanges.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$sourceFolder = Join-Path $PSScriptRoot "Source"
$containerName = Split-Path $PSScriptRoot -Leaf
Export-ModifiedObjectsAsDeltas -containerName $containerName -deltaFolder $sourceFolder
2 changes: 2 additions & 0 deletions RemoveDevEnv.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$containerName = Split-Path $PSScriptRoot -Leaf
Remove-NavContainer -containerName $containerName
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5c1f402

Please sign in to comment.