You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/visualization/lbug-explorer/index.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ To access an existing Ladybug database, you can mount its path to the `/database
36
36
docker run -p 8000:8000 \
37
37
-v {path to the directory containing the database file}:/database \
38
38
-e LBUG_FILE={database file name} \
39
-
--rm lbugdb/explorer:latest
39
+
--rm ghcr.io/ladybugdb/explorer:latest
40
40
```
41
41
42
42
By mounting a local database file in Docker via `-v {path to the directory containing the database file}` and `-e LBUG_FILE={database file name}`, the changes done in the UI will persist to the local database file after the UI is shutdown. If the directory is mounted but the `LBUG_FILE` environment variable is not set, Ladybug Explorer will look for a file named `database.kz` in the mounted directory or create it if missing.
@@ -51,7 +51,7 @@ This is simply done by removing the `-v` flag in the example above. If no databa
51
51
with `-v`, the server will be started with an empty database.
52
52
53
53
```bash
54
-
docker run -p 8000:8000 --rm lbugdb/explorer:latest
54
+
docker run -p 8000:8000 --rm ghcr.io/ladybugdb/explorer:latest
55
55
```
56
56
57
57
Click on the `Datasets` tab on the top right corner and then: (i) you can select one of the bundled datasets
@@ -72,7 +72,7 @@ environment variable to `READ_ONLY` as shown below.
72
72
docker run -p 8000:8000 \
73
73
-v /absolute/path/to/database:/database \
74
74
-e MODE=READ_ONLY \
75
-
--rm lbugdb/explorer:latest
75
+
--rm ghcr.io/ladybugdb/explorer:latest
76
76
```
77
77
78
78
In read-only mode, you can still issue read queries (such as `MATCH`) and visualize the results,
@@ -88,7 +88,7 @@ you can do so by setting the `LBUG_IN_MEMORY` environment variable to true as fo
88
88
```bash
89
89
docker run -p 8000:8000 \
90
90
-e LBUG_IN_MEMORY=true \
91
-
--rm lbugdb/explorer:latest
91
+
--rm ghcr.io/ladybugdb/explorer:latest
92
92
```
93
93
94
94
You can think of an in-memory database as ephemeral, where the database exists purely in memory --
@@ -110,7 +110,7 @@ For example, to launch Ladybug Explorer with a buffer pool size of 1GB, you can
110
110
docker run -p 8000:8000 \
111
111
-v /absolute/path/to/database:/database \
112
112
-e LBUG_BUFFER_POOL_SIZE=1073741824 \
113
-
--rm lbugdb/explorer:latest
113
+
--rm ghcr.io/ladybugdb/explorer:latest
114
114
```
115
115
116
116
#### Accessing data files in the container
@@ -121,7 +121,7 @@ As mentioned above, Ladybug Explorer is launched from a Docker image. If you wan
121
121
docker run -p 8000:8000 \
122
122
-v /absolute/path/to/database:/database \
123
123
-v /absolute/path/to/data:/data \
124
-
--rm lbugdb/explorer:latest
124
+
--rm ghcr.io/ladybugdb/explorer:latest
125
125
```
126
126
127
127
With this configuration, the data directory you specify on your host machine will be accessible as `/data` in the container. For example, in the query panel, you can copy a CSV file into your database by running the following command:
@@ -167,7 +167,7 @@ To install the dev build, you can attach the `dev` tag to the docker command as
167
167
```bash
168
168
docker run -p 8000:8000 \
169
169
-v /absolute/path/to/database:/database \
170
-
--rm lbugdb/explorer:dev
170
+
--rm ghcr.io/ladybugdb/explorer:dev
171
171
```
172
172
173
173
The dev build of Ladybug Explorer is compatible with the nightly build of Ladybug, but it's not guaranteed to be stable
0 commit comments