mirror of
https://github.com/tlsnotary/tlsn-js.git
synced 2026-01-09 20:47:55 -05:00
multiplexing shells for demo
This commit is contained in:
22
interactive-demo/zellij.kdl
Normal file
22
interactive-demo/zellij.kdl
Normal file
@@ -0,0 +1,22 @@
|
||||
layout {
|
||||
pane {
|
||||
pane split_direction="vertical" {
|
||||
pane name="verifier" command="bash" {
|
||||
args "-c" "cargo run --manifest-path ./interactive-demo/verifier-rs/Cargo.toml; ${SHELL-bash}"
|
||||
}
|
||||
}
|
||||
pane split_direction="vertical" {
|
||||
pane name="prover" command="bash" {
|
||||
args "-c" "cargo run --manifest-path ./interactive-demo/prover-rs/Cargo.toml; ${SHELL-bash}"
|
||||
}
|
||||
}
|
||||
pane split_direction="vertical" {
|
||||
pane name="shell" command="bash" {
|
||||
args "-c" "npm i && npm run build && npm link && cd ./interactive-demo/prover-ts && npm i && npm link && npm run dev; ${SHELL-bash}"
|
||||
}
|
||||
pane name="proxy" command="bash" {
|
||||
args "-c" "cargo install wstcp && wstcp --bind-addr 127.0.0.1:55688 swapi.dev:443; ${SHELL-bash}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,8 @@
|
||||
"build": "npm run build:lib",
|
||||
"watch:dev": "webpack --config webpack.web.dev.config.js --watch",
|
||||
"dev": "concurrently npm:watch:dev npm:serve:test",
|
||||
"demo": "zellij --layout interactive-demo/zellij.kdl a interactive-demo || zellij --layout interactive-demo/zellij.kdl -s interactive-demo",
|
||||
"zzdemo": "zellij kill-session interactive-demo",
|
||||
"lint:eslint": "eslint . --fix",
|
||||
"lint:tsc": "tsc --noEmit",
|
||||
"lint": "concurrently npm:lint:tsc npm:lint:eslint",
|
||||
|
||||
1
zellij-config.kdl
Normal file
1
zellij-config.kdl
Normal file
@@ -0,0 +1 @@
|
||||
session_serialization true
|
||||
Reference in New Issue
Block a user