https://css-tricks.com/snippets/html/start-a-web-server-with-one-terminal-command-on-os-x/

  • Python2: python -m SimpleHTTPServer 8000
  • Python3: python3 -m http.server --cgi 8080
  • Php: php -S localhost:2222
  • Npm: npm i -g serve // serve