We want to integrate a "Deploy to Heroku" button to enable people who do not have development experience to easily launch our example integration and explore the running application.
This PR updates our integration to use environment variables to configure the app and adds a Procfile to specify the webserver to serve the app. Following this PR we will add the code to include a "Deploy to Heroku" button on the README.md
Special Case for Java
Heroku uses the system environment for configuration variables. This
commit refactors the gateway instantiation to allow either a config.properties
file or system environment variables in preparation for Heroku deployment.
Background
We want to integrate a "Deploy to Heroku" button to enable people who do not have development experience to easily launch our example integration and explore the running application.
This PR updates our integration to use environment variables to configure the app and adds a Procfile to specify the webserver to serve the app. Following this PR we will add the code to include a "Deploy to Heroku" button on the README.md
Special Case for Java
Heroku uses the system environment for configuration variables. This commit refactors the gateway instantiation to allow either a config.properties file or system environment variables in preparation for Heroku deployment.