💥Note: This project is under active development
There are a few options to installing a Metabase community driver. The simplest is to copy the JAR file into the plugins directory in your Metabase directory (the directory where you run the Metabase JAR). Additionally, you can change the location of the plugins directory by setting the environment variable MB_PLUGINS_DIR
.
Use the Dockerfile
to build an image of Metabase with the Ocient driver pre-installed:
git clone git@github.com:Xeograph/metabase-ocient-driver.git
cd metabase-ocient-driver
git submodule update --init
make docker-build
If you already have a Metabase binary release (see Metabase distribution page):
- Download the Ocient driver jar from this repository's "Releases" page.
- Create a directory and copy the
metabase.jar
to it. - In that directory create a sub-directory called
plugins
and copy the Ocient driver jar into it. - From the directory created in step 2, run
java -jar metabase.jar
.
- java >= 8
- Leiningen
- Install metabase-core
The Ocient driver, can be built using Clouure Tools
:
# Outputs jar to `plugins/ocient.metabase-driver.jar`
make build
To run a local instance of Metabase, run:
make run
To run the unit tests against the Ocient driver, run:
make run-unit-test