-
-
Save grantmichaels/2689539 to your computer and use it in GitHub Desktop.
Deploy Node.js to Heroku
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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