A simple solution instead of deploying your code to apache or IIS is to install a local http server. http-server for Node.js is a fast, easy install and app that will allow you to use any directory as a http://localhost.
Installing this simple http server only takes a few steps:
- Install node.js if you don’t already have installed (from http://nodejs.org)
- In a command prompt / terminal, now run:
npm install http-server -g
(this installs http-server globally so you can access from any folder or directory)
- Now using command prompt or terminal, browser to a folder with some html you want to serve as http. (ie: c:someproject).
- Open your browser and…
View original post 36 mots de plus