Skip to content

Instantly share code, notes, and snippets.

@kazu69
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazu69/9596824 to your computer and use it in GitHub Desktop.
Save kazu69/9596824 to your computer and use it in GitHub Desktop.
Start the local server easily. Just run one line shell after npm install.

Start the local server easily with node.js

static

npm install -g node-static
static -p 8000 & open http://localhost:8000

http-server

npm install -g http-server
http-server -p 8000 & open http://localhost:8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment