Browse Source

Add a script that can start all processes in a single terminal

Not suitable for all use-cases as the logs are jumbled up, but it makes
regression testing more approachable.

Hitting a single `ctrl+c` stops all processes.
fix-bad-api-calls
Mariusz Klochowicz 3 years ago
parent
commit
a7e78072b0
No known key found for this signature in database GPG Key ID: 470C865699C8D4D
  1. 5
      start_all.sh

5
start_all.sh

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# A simple command to spin up the complete package, ie. both daemons and frontends.
# A single 'ctrl+c' stops all processes.
(trap 'kill 0' SIGINT; cargo run --bin maker & cargo run --bin taker & APP=maker yarn --cwd=./frontend dev & APP=taker yarn --cwd=./frontend dev)
Loading…
Cancel
Save