Skip to content

Instantly share code, notes, and snippets.

@argyleink
Forked from tmcw/server.md
Created July 25, 2013 03:37
Show Gist options
  • Save argyleink/6076744 to your computer and use it in GitHub Desktop.
Save argyleink/6076744 to your computer and use it in GitHub Desktop.

Booting Up A Development Server

Open a console. Terminal.app on Macs, your shell or whatever on PCs.

Python is easiest:

python -m SimpleHTTPServer 8000

Then go to http://localhost:8000/ in a web browser.

A nodejs junkie?

npm install -g serve
serve

Then go to http://localhost:3000/ in a web browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment