Start a Web Server With One Terminal Command on OS X

0
0

I’ve searched for this three times this week, so I figured I’d better make sure I have a copy of it:

python -m SimpleHTTPServer 8000

Navigate to the project directory in the terminal and do that command. Then http://localhost:8000 will server up that directory (as in, it’s `index.html` file).

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.