Skip to content

Commit

Permalink
Merge pull request #3 from kianmeng/update-local-ts-server-instruction
Browse files Browse the repository at this point in the history
Ensure docker instruction works with podman
  • Loading branch information
jaeyson authored Sep 18, 2023
2 parents 2b2069f + 93c9803 commit 5c7881e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
typesense-version: [0.24.1]
typesense-version: [0.25.1]

env:
MIX_ENV: test
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Hex.pm](https://img.shields.io/hexpm/v/ex_typesense)](https://hex.pm/packages/ex_typesense)
[![Hexdocs.pm](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/ex_typesense)
[![Hex.pm](https://img.shields.io/hexpm/l/ex_typesense)](LICENSE)
[![Typesense badge](https://img.shields.io/badge/Typesense-v0.24.1-darkblue)](https://typesense.org/docs/0.24.1/api)
[![Typesense badge](https://img.shields.io/badge/Typesense-v0.25.1-darkblue)](https://typesense.org/docs/0.25.1/api)

Typesense client for Elixir with support for your Ecto schemas.

Expand Down Expand Up @@ -48,14 +48,18 @@ mix deps.compile ex_typesense --force

### 1. Spin up local typesense server

```bash
mkdir /tmp/typesense-server-data
```

```bash
docker container run --rm -it -d \
--name typesense \
-e TYPESENSE_DATA_DIR=/data \
-e TYPESENSE_API_KEY=xyz \
-v /tmp/typesense-server-data:/data \
-p 8108:8108 \
typesense/typesense:0.24.1
docker.io/typesense/typesense:0.25.1
```

### 2. Add creds to config
Expand Down

0 comments on commit 5c7881e

Please sign in to comment.