Skip to content

Instantly share code, notes, and snippets.

@digideskio
Forked from tmcw/server.md
Created October 11, 2015 22:12
Show Gist options
  • Save digideskio/0eca2a9230f469528ca9 to your computer and use it in GitHub Desktop.
Save digideskio/0eca2a9230f469528ca9 to your computer and use it in GitHub Desktop.
Boot up a quick development server

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