Please see the new recommended community fork for this integration at https://github.com/mozilla/mattermost-heroku/. It includes the ability to deploy team and enterprise editions, along with documentation.
Many thanks to tommyvn for creating the Mattermost-Heroku integration on which this is based.