Simple Local Server Tip

/ Edit this post / developing

I generally use to run my local web server. http-server works really great, however lately I've been finding myself using SimpleHTTPServer because it's already installed on my Mac and it's, well... simple (obviously, given the name).

Try it:

Open and run
cd ~/Sites/some-project (or wherever your static project files exist)

and now fire it up:
python -m SimpleHTTPServer 8000 (or choose another port number)

then simply visit http://localhost:8000 :)

Happy coding!

Eric David Smith

Father / Software Engineer / Musician / Recording Engineer / Navy Veteran / Runner / Javascript / Crypto / Human ETH: 0xa9FFaD2A2cA147F784f4C82Ee6475afb6765A974

Read More