Skip to content

Commit 7c3be66

Browse files
committed
dev: add mtt-multi layout
1 parent 50eff65 commit 7c3be66

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

dev/Justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ demo-app:
1010
mtt-simple:
1111
zellij --layout layouts/mtt-simple.kdl
1212

13+
mtt-multi:
14+
zellij --layout layouts/mtt-multi.kdl
15+
1316
ltmtt-simple:
1417
zellij --layout layouts/ltmtt-simple.kdl
1518

dev/layouts/mtt-multi.kdl

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// The layout to launch facade and one transactors in Zellij
2+
3+
layout {
4+
pane split_direction="vertical" {
5+
pane {
6+
name "Facade"
7+
focus true
8+
cwd "../"
9+
command "bash"
10+
args "dev/scripts/facade-mtt-game.sh"
11+
start_suspended true
12+
}
13+
pane split_direction="horizontal" {
14+
pane {
15+
name "Server 1"
16+
command "just"
17+
cwd "../"
18+
args "dev-transactor" "dev/server-confs/server1.toml"
19+
start_suspended true
20+
}
21+
pane {
22+
name "Server 2"
23+
command "just"
24+
cwd "../"
25+
args "dev-transactor" "dev/server-confs/server2.toml"
26+
start_suspended true
27+
}
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)