Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mini langstream #468

Merged
merged 7 commits into from
Sep 21, 2023
Merged

Mini langstream #468

merged 7 commits into from
Sep 21, 2023

Conversation

nicoloboschi
Copy link
Member

@nicoloboschi nicoloboschi commented Sep 21, 2023

  • Added mini-langstream script with instructions. By default it installs the latest version of langstream.
    It requires:
  • Minikube
  • kubectl
  • helm
  • docker
  • langstream (cli)

When you run mini-langstream start, the following happens:

  • Minikube context is setup
  • MinIO is created inside a docker container
  • Kafka is created inside a docker container
  • LangStream is deployed using helm in the minikube context
  • PortForwarding is enabled for gateway and control plane
  • A dedicated CLI config is created

You can then use the CLI targeting the cluster with:

mini-langstream cli apps list
  • Added to the release procedure
  • Added binary installation similar to langstream CLI

### MacOS/Linux/WSL

```
curl -Ls "https://raw.githubusercontent.com/LangStream/langstream/main/bin/mini-langstream/get-mini-langstream.sh" | bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make it available in the homebrew formula ?

Personally (maybe it is a matter of taste) I don't like to install stuff this way on my Mac, as there is no way of uninstalling things. With homebrew (and other managers) the whole lifecycle is handled (also the upgrades)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes this is for Linux users. Brew will come later

@@ -0,0 +1,40 @@
# mini-langstream
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure that the README should go into the "bin" directory,
maybe it is better to move the whole directory to the root (not as child of "bin")

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point

@eolivelli eolivelli merged commit c0248c3 into main Sep 21, 2023
8 checks passed
@eolivelli eolivelli deleted the mini-langstream branch September 21, 2023 15:12
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants