From a0988e2267e3c332c0ecc6b3418949b70f897683 Mon Sep 17 00:00:00 2001 From: Oleg Jukovec Date: Fri, 12 Jan 2024 11:15:43 +0300 Subject: [PATCH] doc: replace cartridge-cli with tt in README.md The patch replaces usage of cartridge-cli with tt in the README.md. --- README.md | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 05cd489..cc35888 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,20 @@ cartridge.cfg({ ## Usage as a ready-to-deploy service -Just run ```cartridge pack rpm --version 1.0.0 .``` and install resulting package on your target servers. +Prepare `tt` environment: +``` +tt init +git clone https://github.com/tarantool/sharded-queue instances.enabled/sharded-queue +``` + +Run: +``` +tt pack --app-list sharded-queue rpm --version 1.0.0 +``` -For more details refer to [cartridge-cli](https://github.com/tarantool/cartridge-cli/) +Now you could install resulting package on your target servers. +For more details refer to [tt](https://github.com/tarantool/tt/) ## Usage from client perspective @@ -125,22 +135,26 @@ supported: ## Running locally (as an example) -Install dependencies: +Prepare `tt` environment: +``` +tt init +git clone https://github.com/tarantool/sharded-queue instances.enabled/sharded-queue +``` +Install dependencies: ``` -cartridge build +tt build sharded-queue ``` Start default configuration: ``` -cartridge start -d -cartridge replicasets setup --bootstrap-vshard +tt start sharded-queue +tt cartridge replicasets setup --bootstrap-vshard --name sharded-queue ``` -To stop and clear data, say: +To stop, say: ``` -cartridge stop -rm -rf ./tmp +tt stop sharded-queue ``` ## Launching tests