Locked lesson.
About this lesson
In this lesson, we'll learn how to push our code to Heroku and rename your URL.
Exercise files
Download this lesson’s related exercise files.
Push Code To Heroku - Rename URL.docx57.6 KB Push Code To Heroku - Rename URL - Solution.docx
58.2 KB
Quick reference
Push Code To Heroku - Rename URL
Once our app is configured, it's time to push it to Heroku.
When to use
Do this to push your code to Heroku for web hosting.
Instructions
Make sure to save your code to git:
git add .
git commit -am 'tweaked for heroku'
git push
Then push your code to Heroku:
git push heroku master
To rename your app:
heroku rename YOURNAME
Hints & tips
- git push heroku master
- heroku rename YOURNAME
Lesson notes are only available for subscribers.