Last Updated: February 25, 2016
·
1.381K
· twilson63

w3 - a simple static web server

http://twilson63.github.com/w3/

Launch a web server in any directory:

# install nodejs from http://nodejs.org
# install w3 to your global scope
npm install w3 -g
# navigate to your web site/app
cd [your website folder]
# run w3 default 3000
w3

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside