Heroku

The following are basic steps needed to quickly set up a Node.js app with Express and deploy to Heroku.

Step 1 - Heroku account

Make sure you have a Heroku account set up

Step 2 - Install Heroku Toolbelt

Download and install the tool belt package specific for your OS

OSX

https://toolbelt.heroku.com/osx

Windows

https://toolbelt.heroku.com/windows

Linux

  1. $ wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

Step 3 - Log into you account

Once toolbelt is installed, you should be able to access your account

  1. $ heroku login
  2. Enter your Heroku credentials.
  3. Email: adam@example.com
  4. Password:
  5. Could not find an existing public key.
  6. Would you like to generate one? [Yn]
  7. Generating new SSH public key.
  8. Uploading ssh public key /Users/adam/.ssh/id_rsa.pub

That’s pretty much about it. Pass these steps and you are ready to DEPLOY THE CODES!