...

/

Create Heroku Application

Create Heroku Application

Learn how to create a Heroku application in this lesson.

Creating Heroku application

To start, we’ll need to log in. Type heroku login at the command line. You should see something like:

$ heroku login
heroku: Press any key to open up the browser to login or q to exit

When we hit a key, it will show a URL and open it in the browser. If it doesn’t open, go to the URL manually. In the browser, click the “login” button. This will suffice if you’ve logged in recently, or you may be asked for our username and password. After this, we can close the window or tab. Once we’re logged in, we will be able to use all of the Heroku CLI commands.

Next, we’ll create the Heroku application and link our Git repository to it with the following command run from within the root path of our project’s Git repository:

$ heroku create
Creating app... done, intense-bayou-52717
https://intense
...