Last active
December 4, 2016 16:58
-
-
Save ran-z/f10393c4d95e9f7f6b9deba199e40009 to your computer and use it in GitHub Desktop.
dashboard launcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$url = "https://gist.githubusercontent.com/ran-z/44d90354486c6adef0f1b5323ce3642a/raw/bc948e8f26257e579b6e9adffb32014b7d4bd199/aria-dashboard.html" | |
$output = "C:\ARIA\Dashboard\dashboard.html" | |
Invoke-WebRequest -Uri $url -OutFile $output | |
Stop-Process -name python | |
cd C:\ARIA\Dashboard\ | |
Start-Job -ScriptBlock { | |
& python -m SimpleHTTPServer >console.out 2>console.err | |
} | |
Start-Process `http://localhost:8000/dashboard.html` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment