Skip to content

Instantly share code, notes, and snippets.

@grantmichaels
Forked from matthewhudson/deploy.sh
Created May 13, 2012 18:06
Show Gist options
  • Save grantmichaels/2689539 to your computer and use it in GitHub Desktop.
Save grantmichaels/2689539 to your computer and use it in GitHub Desktop.
Deploy Node.js to Heroku
# Create the app on the Cedar stack:
heroku create --stack cedar
# Creating sharp-rain-871... done, stack is cedar
# http://sharp-rain-871.herokuapp.com/ | [email protected]:sharp-rain-871.git
# Git remote heroku added
# Rename the application.
heroku rename newname
git push heroku master
# Before looking at the app on the web, we’ll need to scale the web process:
heroku ps:scale web=1
# Scaling web processes... done, now running 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment