A metabase driver for Amazon DynamoDB
Forked from kawasima/metabase-dynamodb-driver
Updated to work with Metabase 0.48.0
- Install Clojure CLI
- Clone Metabase core repo
git clone https://github.com/metabase/metabase
# switch to the local checkout of the Metabase repo
cd /path/to/metabase/repo
# get absolute path to this driver directory
DRIVER_PATH=`readlink -f ~/dev/metabase-plugins/metabase-dynamodb-driver`
# Build driver. See explanation below
clojure \
-Sdeps "{:aliases {:dynamodb {:extra-deps {com.metabase/dynamodb-driver {:local/root \"$DRIVER_PATH\"}}}}}" \
-X:build:dynamodb \
build-drivers.build-driver/build-driver! \
"{:driver :dynamodb, :project-dir \"$DRIVER_PATH\", :target-dir \"$DRIVER_PATH/target\"}"
These build steps have been copied from the Sample Metabase Driver: Sudoku. Check the build section of the REAMDE for more details.