1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 15:07:36 +00:00
stackdump/Start-StackdumpWeb.ps1

20 lines
946 B
PowerShell
Raw Permalink Normal View History

<EFBFBD><EFBFBD><#
.SYNOPSIS
Starts the Stackdump web server.
.DESCRIPTION
Starts the Stackdump web server, using the Start-Python.ps1 script.
No parameters are accepted.
.EXAMPLE
Start-StackdumpWeb
#>
$ScriptDir = Split-Path $MyInvocation.MyCommand.Path
# ensure the data directory exists
if (-not (Test-Path (Join-Path $ScriptDir 'data'))) {
mkdir (Join-Path $ScriptDir 'data')
}
& "$ScriptDir\Start-Python.ps1" "$ScriptDir\python\src\stackdump\app.py"