priore

[OSX] Launch a temporary HTTP mini server

May 7th, 2020
574
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. > sudo npm cache clean -f
  2. > brew update
  3. > brew upgrade node
  4. > npm install -g npm
  5. > npm install http-server -g
  6.  
  7. # go to the folder where the pages are to be launched (.html)
  8.  
  9. > http-server
Add Comment
Please, Sign In to add comment