(nodejs, http-server)
Ok, now that we have a view, we're ready to run our app. To do that, we'll need to start a web server to serve up your index.html page, so we can view it in a browser. How you go about doing that depends on which server-side technology you want to use. Below are instructions for a couple of common scenarios:
npm install http-server -g
(In some environments you may need to use sudo).http-server -o -c-1
-o Open browser window after starting the server
-p Port to use (defaults to 8080)
-c Set cache time (in seconds) for cache-control max-age header,
e.g. -c10 for 10 seconds (defaults to '3600'). To disable caching, use -c-1
-s or --silent Suppress log messages from output
-S or --ssl Enable https.