From 56101b1edb84c29b24e9d2d2961647998ae3379d Mon Sep 17 00:00:00 2001 From: landa Date: Fri, 20 Feb 2026 18:09:54 +0300 Subject: [PATCH] doc: add .rockspec installation instructions Add instructions on how to download .rockspec file and then install the module. --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index cffc86e..0868bad 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,33 @@ Now you could install resulting package on your target servers. For more details refer to [tt](https://github.com/tarantool/tt/) +## Building from the source + +To build sharded-queue from source download .rockspec file: +```shell +tt rocks download sharded-queue 1.0.0 --rockspec +``` + +After run a rock installation: +```shell +tt rocks install sharded-queue-1.0.0-1.rockspec +``` + +Or build a rock file: +```shell +tt rocks pack sharded-queue-1.0.0-1.rockspec +``` + +## Downloading pre-builded rock/rockspec + +As alternative, application can be installed by pre-builded .rock file. +Download file and move it to the preferred place, then run tt rocks +install: +```shell +tt rocks download sharded-queue 1.0.0 +tt rocks install sharded-queue-1.0.0-1.all.rock +``` + ## Usage from client perspective The good old queue api is located on all instances of the router masters that