Here is the description from the Harp website;
What is Harp?
Harp is a zero-configuration web server that is used to serve static assets. It has a built in asset pipeline for serving .jade, .markdown, .ejs, .coffee, .less, .styl as .html, .css, and .js. Harp supports a template agnostic layout/partial system and metadata for dynamically building files.
I thought I would take Harp for a drive around the block and decided to install it on a Debian Jessie virtual machine.
The installation process is rather easy except for one issue due to the Node.js package.
Here is the process to install Harp.
Firstly there are some prerequisites to get Harp installed being Node.js and npm, the package manager for Node. I decided to install Node and npm using the Debian package repositories with these commands.
apt-get update
apt-get install nodejs npm
Once Node is installed, you can install Harp using the Node package manager.
npm install harp -g
The -g switch in the above command tells the package manager to make the Harp install global rather than a local directory install.
Harp is now installed and everything should be ready to go! There is a problem though. If you run the following command.
harp --version
You will get an error which is very misleading.
/usr/bin/env: node: No such file or directory
You can be forgiven for thinking that the harp binary was not found. This is not the case. The problem here is Harp is trying to call Node.js by using the command 'node' while on a Debian system the Node command is 'nodejs'.
This is easy to fix with the following symbolic link. Simply run this command.
ln -s /usr/bin/nodejs /usr/bin/node
Now if you run Harp everything works as expected.
harp --version
0.9.4
All that is left is to follow the instructions on getting started to use the Harp web server.