This is a demo application showcasing how to integrate the Kleio ad-server with the Meilisearch search engine. Using the two together, you can quickly add support for sponsored search results to your application.
To see this demo in practice, I recommend spinning up the full suite of containers using docker compose as described in the Kleio integrations documentation.
This application is a very simple web frontend written in Elixir. It uses the Phoenix web framework.
In addition to the search interface, it also includes some tooling to ensure the Meilisearch instance it is pointed to has the required movies index setup.
You can start the application directly by running:
mix deps.get
to get all dependenciesiex -S mix phx.server
to start the application
Do note however that this isn't going to work particularly well unless you also have Kleio and Meilisearch running.
To release a new version, run:
export VERSION=X.Y.Z
docker buildx build --platform linux/arm64/v8,linux/amd64 -t getkleio/meilisearch_demo .
docker push getkleio/meilisearch_demo:latest
docker tag getkleio/meilisearch_demo:latest getkleio/meilisearch_demo:$VERSION
docker push getkleio/meilisearch_demo:$VERSION