Search code examples
node.jsdvd

Can node.js be used without installing anything on the machine?


I'm interested in a webserver solution, where nothing needs to be installed on the machine itself. So you just insert the (eg) DVD and of you go.

I know that products exist that allow this, but can it be done with Node.js?

EDIT: I would like the DVD to work on a machine already running some OS (eg. Windows or MacOS), so basically have a cross platform webserver running only from a DVD.


Solution

  • You surely can use a Linux live CD in your favorite flavor and follow the flow the maintainers of that live CD are proposing for changes and install your node.js packages inside it. That would give you a live CD (or DVD) with your node.js application…

    Here is an example customizing an Ubuntu live CD to install a BitCoin miner on it: www.greenone.org - If you adapt that and install the node.js packages instead of the miner you would have your live CD…