Created
July 21, 2019 19:53
-
-
Save joglr/0f96433165bd37d3e5ae1302b1d65c2f to your computer and use it in GitHub Desktop.
This file contains 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 | |
echo Copy this file to any folder and run it to run a local web server in the folderza | |
start http://localhost:5000 && serve . |
This file contains 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 | |
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco install nodejs-lts | |
npm install serve -g && echo. && start server.cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment