If you are following a guide specifically for use on a Heroku instance then it will skip some steps that will be required for setting up on other boxes. By default heroku instances have node.js
installed, so there is no need to get this set up on the box prior to deploying and launching your first application.
To install Node.js on Linux Mint. Do the following:
Install required tools
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
Clone and make latest version of Node.js
git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install
Go to your working directory for this project and run the following:
npm install
foreman start
Your Node.js application example should now be working on your local VM.
To get a sample node app for testing your local setup do the following:
`git clone git@github.com:heroku/node-js-sample.git # or clone your own fork`
`cd node-js-sample`
`npm install`
`foreman start`
Browse to http://localhost:5000
to see the sample application.