DEV Community

Cover image for How to use Heroku
Ifeanyi Chima
Ifeanyi Chima

Posted on • Updated on

How to use Heroku

How to gain access to your heroku apps. I know heroku does not have a GUI (user interface) just like GitHub.com, If you have a heroku app you need to access, you can follow these steps.

Image description

How do you gain access to your heroku apps ?

Create a folder

  • Create a folder and name it heroku-project
  • Open the folder cd heroku-project

Open terminal

  • Open the terminal and run the following commands

1 Login to your Heroku acount using the terminal.

heroku login
Enter fullscreen mode Exit fullscreen mode

2 Get a list of all the apps that belong to your account.

heroku apps
Enter fullscreen mode Exit fullscreen mode

3 Get information about a particular heroku app.

heroku apps:info <heroku app name>
Enter fullscreen mode Exit fullscreen mode

4 To download the heroku app locally to your device, copy and paste the URL into your terminal.

git clone <heroku app url>
Enter fullscreen mode Exit fullscreen mode

git clone will download the heroku app into the folder and you have to cd into it, Let's go into the directory:

cd <heroku app name>
Enter fullscreen mode Exit fullscreen mode

How to rename your app

To rename an app named "oldname" to "newname", run the following
command from your terminal.

heroku apps:rename <newname>
Enter fullscreen mode Exit fullscreen mode

swap out newname with the name that you want to change to

😄 enjoy, do whatever you want 😉

Buy Me A Coffee

Thank you, Please follow me

HTML GitHub

Top comments (0)