Skip to content

Commit 66076b8

Browse files
authored
Merge pull request #48 from Eigen-DB/chore/updating_docs
Updated docs
2 parents 2817607 + f6b3cec commit 66076b8

40 files changed

+1360
-1146
lines changed

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
run: docker pull ghcr.io/eigen-db/eigendb-base:latest
2222

2323
- name: Run `moon ci` in base image
24-
run: docker run -v ${{ github.workspace }}:/src ghcr.io/eigen-db/eigendb-base:latest "chown -R ci_user:ci_user /src && cd /src && su ci_user -c \"bash -c '~/.moon/bin/moon ci'\""
24+
run: docker run -v ${{ github.workspace }}:/src ghcr.io/eigen-db/eigendb-base:latest "chown -R ci_user:ci_user /src && cd /src && su ci_user -c \"bash -c 'moon ci'\""

β€ŽDockerfileβ€Ž

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# this Dockerfile defines the base image for the eigendb monorepo
22

33
# setting up faissgo deps
4-
FROM debian:latest AS faissgo-builder
4+
FROM debian:bookworm-slim AS faissgo-builder
55

66
SHELL ["/bin/bash", "-c"]
77

@@ -33,8 +33,6 @@ RUN make -C build -j
3333

3434
FROM golang:1.23
3535

36-
RUN go env -w GOFLAGS='-buildvcs=false'
37-
3836
# installing golangci-lint
3937
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.5
4038

@@ -53,8 +51,19 @@ COPY --from=faissgo-builder /faissgo/faiss /usr/include/faiss
5351
RUN echo "source /opt/intel/oneapi/mkl/latest/env/vars.sh" >> ~/.bashrc
5452
RUN echo "export PATH=/usr/local/go/bin:/go/bin:$PATH" >> ~/.bashrc
5553

56-
# creating user for CI and installing Moonrepo
54+
# installing moon in global location
55+
RUN curl -fsSL https://moonrepo.dev/install/moon.sh | bash
56+
RUN mv /root/.moon/bin/moon /usr/local/bin/moon
57+
RUN chmod +x /usr/local/bin/moon
58+
59+
# creating user for CI
5760
RUN useradd -m ci_user -s /bin/bash
58-
RUN su ci_user -c "curl -fsSL https://moonrepo.dev/install/moon.sh | bash"
61+
62+
# Configure git safe directory for the mounted volume
63+
RUN go env -w GOFLAGS='-buildvcs=false'
64+
RUN git config --global --add safe.directory /src
65+
RUN git config --global --add safe.directory /src/*
66+
RUN git config --global --add safe.directory /src/libs/faissgo/lib/faiss
67+
RUN git config --global --add safe.directory /src/libs/faissgo/lib/faiss/*
5968

6069
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]

β€Žapps/docs/README.mdβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# EigenDB Documentation
22

3+
We try to update it as much as possible :)
4+
5+
Made with ❀️ by developers, for developers.
6+

β€Žapps/docs/api-reference/api.mdxβ€Ž renamed to β€Žapps/docs/api-reference/auth.mdxβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Getting started
3-
description: EigenDB provides a robust and efficient REST API
2+
title: Authentication
3+
description: EigenDB provides a robust and efficient API to let you manage your embeddings.
4+
icon: lock
45
---
56

67
### Authentication πŸ”

0 commit comments

Comments
Β (0)