Skip to content

Instantly share code, notes, and snippets.

@lg3bass
Created November 14, 2016 15:09
Show Gist options
  • Save lg3bass/0c838604c99fc357af6921d1c33292a0 to your computer and use it in GitHub Desktop.
Save lg3bass/0c838604c99fc357af6921d1c33292a0 to your computer and use it in GitHub Desktop.
Start simple http-server on NPM
https://www.youtube.com/watch?v=d3OcFexe9Ik&index=2&list=PLRqwX-V7Uu6aoeLx_mWfz6XwtFaD9SkVX
//installing "http-server" package.
sudo npm install http-server -g
//running server.
USRLSML-2HLDV7L:npm_test uwhitbo$ http-server
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
http://10.104.146.160:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment