1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 23:17:37 +00:00
stackdump/Start-StackdumpWeb.ps1

20 lines
946 B
PowerShell
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<#
.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"