2019-10-08 15:34:46 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Read in variables
|
|
|
|
set -a
|
|
|
|
source "$(dirname "$0")/vars.sh"
|
|
|
|
|
|
|
|
cd $(dirname "$0")
|
|
|
|
rm -rf data
|
|
|
|
|
|
|
|
tmux new-session -s 'beacon_node' -d
|
|
|
|
|
|
|
|
# maybe these should be moved to a user config file
|
|
|
|
tmux set-option -g history-limit 999999
|
|
|
|
tmux set -g mouse on
|
|
|
|
|
|
|
|
tmux send-keys -t 0 './start.sh' Enter
|
2019-11-11 01:28:13 +00:00
|
|
|
tmux new-window -n "demo_node" "./wait_master_node.sh && ./run_node.sh 0"
|
2019-10-08 15:34:46 +00:00
|
|
|
|
|
|
|
tmux attach-session -d
|
|
|
|
|