Locked lesson.
About this lesson
Set up a free Heroku.com account to push production code.
Quick reference
Using Heroku for Production
In this course we'll be using Heroku for free web hosting of our app.
When to use
Whenever you create an app for the public to use, you'll need web hosting of some kind.
Instructions
Download and install the heroku toolbelt. Be sure to restart your bash terminal after you install the toolbelt.
To sign into Heroku from your git bash terminal, type:
heroku login
To add your SSH keys to heroku, from your git bash terminal, type:
heroku keys:add
To create an app on Heroku from your git bash terminal, type:
heroku create
To push our code up to Heroku, type this command from the git bash terminal:
git push heroku master
To rename your Heroku app, type:
heroku rename NEWAPPNAME
Hints & tips
- heroku.com
Lesson notes are only available for subscribers.