Created
September 27, 2018 16:26
-
-
Save brunurd/8b36bc54e28178e4a7fc750ef2cb3381 to your computer and use it in GitHub Desktop.
Start a static server on windows with Python and a 9 lines script.
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
@echo off | |
net stop was /y | |
echo Opening browser... | |
start "" http://localhost/ | |
echo Starting Python 3.7.0 simple http server... | |
python -m http.server 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment