Run with no docker

Installation

For proper installation you need to clone project from git.

Surroundings

The service can be installed on Windows 10 and AlmaLinux (not tested on other system versions).

Required predefined dependencies:

  • Python v. 3.13 is required

Dependency installation

After surroundings installation the application dependencies should be installed using poetry.

pip install poetry
poetry install

Configuration

After dependencies installation configuration file should be set. File is placed in “./configs/config.conf”.

Initialization

Run the following command to generate server documentation & initialize version:

(cd .. && make docs)

First launch and testing

If all previous actions are executed successfully, server is ready to work. To start server please execute run.py script. You can add optional arguments: server port, path to configuration file. Also you can change custom log file suffix.

Example of service run command executing from root directory:

python run.py --port=5191 --log_suffix=awesome --config=./configs/config.conf

Port and path to configuration file are command line arguments. Default ports for Luna Vector Search Module services are the following:

service

default port

luna-vector-search-module

5280

Also it possible to run service with config from Luna Configurator. Example:

./run.py --luna-config http://127.0.0.1:5071/1

See command line help for details:

python ./run.py --help

After server is started, testing is recommended. To perform testing execute command

pytest -n 2 tests

All tests should perform successfully.