Skip to content

Deploy our own Jar file to Heroku

Ahmed Rezk edited this page Mar 23, 2021 · 3 revisions

First, go to this link to deploy a fresh instance from Metabase on Heroku

https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-heroku.html

You need to build your own jar file by running ./bin/build then you need to upload the jar file generated in this path target/uberjar/metabase.jar to any accessible server that we can call it later.

Go to this repo https://github.com/tamhub/metabase-buildpack and update METABASE_URL in the file bin/compile with the URL of the jar file.

After finishing deployment of the fresh the Metabase go to Settings > Buildpacks section remove the Metabase Buildback and add the git link of our Buildpack https://github.com/tamhub/metabase-buildpack.git then Go to Deploy tab and link it with our Github repo then select the branch you want to deploy from. then deploy!

Clone this wiki locally