How do I setup a Heroku app with app.json?
Asked Answered
P

1

9

I am learning about Heroku's app.json and app-setups features. I added an app.json to my repo's root directory and configured it to setup add-ons, env vars, etc.

Now I am trying to figure out the steps for someone who has cloned my repo locally from GitHub and made some edits, to deploy it to Heroku, and for the app.json to be processed.

Heroku's help article gives an example, but I feel maybe I am missing a simpler way, because (1) it uses cURL, which many of my users might not have installed, (2) it relies on the repo being at a publicly accessible URL, rather than locally, and (3) it's more verbose than typical Heroku commands.

Is there a simpler way?

Prop answered 20/8, 2014 at 4:58 Comment(0)
G
1

It's been a while since this question was asked, but you can look at Heroku Button docs. It is definitely simpler. It does not use curl and can be used with private repositories.

Gooseneck answered 3/3, 2017 at 23:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.