Comment on page
Build and install from source
LangStream uses Maven as its build system. When the below script is run the project source will be tested and compiled, and the container images will be built.
- Java 17
- Python 3.11+ and PIP
git clone https://github.com/LangStream/langstream
These commands will compile source, build the CLI tarball, and install Docker images.
pip install -r requirements.txt
If you want to test local code changes, you can use
mini-langstream dev start
This command will build the images in the
minikubecontext and install all the LangStream services with the snapshot image.
Once the cluster is running, if you want to build and load a new version of a specific service, run:
mini-langstream dev build <service>
... or for all the services:
mini-langstream dev build
During the build, the latest CLI is created in the
Please note that this CLI uses the conf/cli.yaml file for configuration, and it does not behave the same way as the CLI installed with brew, which uses the $HOME/.langstream/config file with a different format.