mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 15:07:36 +00:00
20 lines
946 B
PowerShell
20 lines
946 B
PowerShell
<#
|
||
.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"
|