How to configure a Github-App for multiple environments?

Hi there,

I am developing a Github-App with rails and I wondered about the configuration of it, when you have multiple domains.

I have a master and development domain on Heroku, like: example-develop.herokuapp.com and example-master.herokuapp.com.

How would I now configure the app when you can only enter one homepage url? Do I have to setup two apps? One for master and one for develop?

I hope someone can help me with that issue, thank you. Below is an image of the configuration field, that I’m talking about.

github_apps_homepage_url.png

Yes, I generally create two (or more) apps, one for development and one for production.

I hope that helps!

2 Likes