mirror of https://github.com/abpframework/eventhub
4 changed files with 42 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||
$ErrorActionPreference = 'Stop' |
|||
|
|||
$scriptDir = $PSScriptRoot |
|||
|
|||
& (Join-Path $scriptDir 'start-infrastructure.ps1') |
|||
& (Join-Path $scriptDir 'install-libs.ps1') |
|||
& (Join-Path $scriptDir 'migrate-database.ps1') |
|||
@ -0,0 +1,11 @@ |
|||
$ErrorActionPreference = 'Stop' |
|||
|
|||
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..') |
|||
|
|||
Push-Location $repoRoot |
|||
try { |
|||
abp install-libs |
|||
} |
|||
finally { |
|||
Pop-Location |
|||
} |
|||
@ -0,0 +1,11 @@ |
|||
$ErrorActionPreference = 'Stop' |
|||
|
|||
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..') |
|||
|
|||
Push-Location $repoRoot |
|||
try { |
|||
dotnet run --project 'src/EventHub.DbMigrator/EventHub.DbMigrator.csproj' |
|||
} |
|||
finally { |
|||
Pop-Location |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
$ErrorActionPreference = 'Stop' |
|||
|
|||
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..') |
|||
$dockerDirectory = Join-Path $repoRoot 'etc/docker' |
|||
$dockerScript = Join-Path $dockerDirectory 'up.ps1' |
|||
|
|||
Push-Location $dockerDirectory |
|||
try { |
|||
& $dockerScript |
|||
} |
|||
finally { |
|||
Pop-Location |
|||
} |
|||
Loading…
Reference in new issue