July 2016
Intermediate to advanced
150 pages
4h 24m
English
The first step in deploying to a new production environment is making sure it exists! Create a new Heroku app for Twitalytics using the CLI:
| | $ heroku create |
| | Creating calm-ocean-4238... done, stack is cedar-14 |
| | https://calm-ocean-4238.herokuapp.com/ | https://git.heroku.com/... |
| | Git remote heroku added |
The new app on the Heroku servers includes its own Git repository. This Git repository is very similar to a GitHub repo you might push to, but it lacks the fancy user interface. This repo isn’t for collaborating—it’s for deployment. You can view the location of the repo by running the following command:
| | $ git remote -v |
| | heroku https://git.heroku.com/calm-ocean-4238.git (fetch) |
| | heroku https://git.heroku.com/calm-ocean-4238.git ... |
Read now
Unlock full access