-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
30 lines (24 loc) · 997 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# build calam
build:
cargo build --release
# build project docs
build-docs:
RUSTDOCFLAGS="-Dwarnings -Arustdoc::private_intra_doc_links" cargo doc --no-deps --all-features --document-private-items
# build OCI image with Dockerfile
build-image:
buildah build
# run QuickWit with Podman
runindex:
podman run --network=host -e AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY -e AWS_ENDPOINT_URL=$AWS_ENDPOINT_URL -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID quickwit:v0.8.2 run
# create QuickWit index from configuration yaml-file via REST API
create:
cd experiments; curl -XPOST -H 'Content-Type: application/yaml' \
'http://127.0.0.1:7280/api/v1/indexes' --data-binary \
@schemaless_index_config.yaml
# search query to QuickWit via REST API
search:
curl \
"http://127.0.0.1:7280/api/v1/scanned-files/search?query=_type:file"
# run Calam filereceiver with Podman
calamfr:
podman run -p 3310:3310 --network=host calam:v0.1.0 fr --qwhost 127.0.0.1