Last active
August 31, 2019 13:46
-
-
Save jordicenzano/a943bda656ad1e0a0568fbaad311af05 to your computer and use it in GitHub Desktop.
Start simple webserver on 8080
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
#!/usr/bin/env bash | |
# Assume nodeJS and npm is installed | |
# Assume npm http-server is installed in global mode (-g) | |
echo "Starting local webserver on 8080" | |
http-server ~/origin -p 8080 --cors -c -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment