Installation¶
For proper installation you need to clone project from git.
Surroundings¶
The service can be installed on Windows 11 and AlmaLinux 9 (not tested on other system versions).
Required predefined dependencies:
Python 3.14 is required.
It is strongly recommended to create virtual surroundings for python dependencies installation.
Python setuptools module can be installed via pip (pip install setuptools).
Dependencies installation¶
Install dependencies from the lock file uv.lock with uv, into a virtual environment it creates in .venv:
uv sync --frozen --no-default-groups
If only versioning is required, launch versioneer.py script with version parameter from the root folder. Please note that for versioning git files are required.
Configuration¶
After dependencies installation configuration file should be set. File is placed in “./luna_image_store/configs/config.conf”.
First launch and testing¶
If all previous actions are executed successfully, server is ready to work. To start server please launch run.py script. Also it possible to run service with config from luna-configurator (see configurator). While start you can add arguments: server message port, path to config, suffix for log files (for different workers). By default 5020 port is used. Example:
./run.py --port 5020 --config ./configs/config.conf --log_suffix 1
After server is started, testing is recommended. To perform testing execute command
python -m unittest tests.unittests_main
All tests should perform successfully.