Dummy’s guide to deploying to Heroku

According to what I’ve gathered (and understood), these are the things you’ll need to do to deploy to Heroku.

  1. Install Git and Heroku on your machine, the latter Should already be installed.
  2. Then connect to your Heroku app from the Heroku CLI
  3. Create a Procfile in your project, place it in the route. This will inform Heroku on how to build your project.
  4. Set up heroku remote in your repository, just like you set up origin as the GitHub remote and even other remotes.
    1. Use git remote to check all the remote endpoints in your local repo.
  5. Once all is set up and good, simply push your branch to the Heroku remote using: git push heroku main.
  6. Heroku will manage the rest.