Sometimes you just need to run a web server on your local system | Vishal Chandra

Post

editor-img
Vishal Chandra
Jun 15, 2022

Sometimes you just need to run a web server on your local system Maybe to try out some front-end code. What's the easiest way to do that?

On OS X you can do the following: ** Python 3: python3 -m http.server --cgi 8080 ** JS / Nodejs: npm i -g serve serve ** PHP: php -S localhost:2222


Checkout related posts on: