Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I setup a Heroku app with app.json?

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?

like image 733
RexE Avatar asked Aug 20 '14 04:08

RexE


1 Answers

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.

like image 59
Michał Młoźniak Avatar answered Oct 20 '22 19:10

Michał Młoźniak