13 lines
297 B
PowerShell
13 lines
297 B
PowerShell
$ErrorActionPreference = "Stop"
|
|||
|
|
Set-Location $PSScriptRoot
|
||
|
|
|
||
|
|
if (-not (Get-Command py -ErrorAction SilentlyContinue)) {
|
||
|
|
Write-Error "Python launcher 'py' was not found. Install Python 3 for Windows first."
|
||
|
|
}
|
||
|
|
|
||
|
|
py -m pip install flask selenium
|
||
|
|
|
||
|
|
Start-Process "http://localhost:5000"
|
||
|
|
|
||
|
|
py .\app.py
|