Skip to content

Commit

Permalink
doc: replace cartridge-cli with tt in README.md
Browse files Browse the repository at this point in the history
The patch replaces usage of cartridge-cli with tt in the README.md.
  • Loading branch information
oleg-jukovec committed Jan 15, 2024
1 parent 0e365ac commit a0988e2
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a0988e2

Please sign in to comment.