I want to use http-server and forever.js to deploy my app to remote ubuntu server. But forever.js requires path to JS file, not to executable. So I can\'t pass keys to http-serv
Browse to your directory that contains your files
And from the command line type:
forever start -c http-server . -p your_port_number
Example:
forever start -c http-server -p 8000
In this way, the port 8000 will forever point to the html files in your directory.