Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit b5235c3

Browse files
authored
Merge pull request #2 from lgabs/small-updates
small updates and readme small updates
2 parents c8afdb8 + 2e75b43 commit b5235c3

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ pom.xml.asc
1313
.lsp
1414
.clj-kondo
1515
/plugins
16-
.cpcache
16+
.cpcache
17+
18+
# vscode
19+
.vscode

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ run: cleanup
1919
docker run -d -p 3000:3000 \
2020
--mount type=bind,source=$(ROOT_DIR)/plugins,destination=/plugins \
2121
--mount source=metabase,destination=/metabase.db \
22-
--name metabase metabase/metabase
22+
--name metabase metabase/metabase
23+
24+
first-run:
25+
docker pull metabase/metabase:latest
26+
make run

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ make build
1616
## Run Locally
1717

1818
```
19-
docker pull metabase/metabase:latest
20-
21-
make run
19+
make first-run
2220
```
23-
Once the Metabase startup completes, you can access your Metabase at `localhost:3000`.
21+
Once the Metabase startup completes, you can access your Metabase at `localhost:3000`, which pulls metabase docker image and then start this project. Next time you need to run this project again, you can use `make run` command.
2422

25-
## Usage
23+
## Add Data
2624

27-
Copy `host`, `http-path` and your `personal-access-token` to metabase form.
25+
When you first access, fill some basic info and then go to "Add your data" section and follow these steps:
26+
1. Choose "Databricks SQL" source;
27+
2. Open your DataBricks SQL Server information at Databricks and copy `host`, `http-path` and your `personal-access-token` (first image below).
28+
3. Fill these info into metabase form (second image below).
2829

2930

3031
![](screenshots/databricks-sql.png)

0 commit comments

Comments
 (0)