Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Makefile target to set up all aligned components locally #1348

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1006,3 +1006,25 @@ telemetry_dump_db:
telemetry_create_env:
@cd telemetry_api && \
cp .env.dev .env

setup_local_aligned_all:
tmux kill-session -t aligned_layer || true
tmux new-session -d -s aligned_layer

tmux new-window -t aligned_layer -n anvil
tmux send-keys -t aligned_layer 'make anvil_start_with_block_time' C-m

tmux new-window -t aligned_layer -n aggregator
tmux send-keys -t aligned_layer:aggregator 'make aggregator_start' C-m

tmux new-window -t aligned_layer -n operator
tmux send-keys -t aligned_layer:operator 'sleep 5 && make operator_register_and_start' C-m

tmux new-window -t aligned_layer -n batcher
tmux send-keys -t aligned_layer:batcher 'sleep 60 && make batcher_start_local' C-m

tmux new-window -t aligned_layer -n explorer
tmux send-keys -t aligned_layer:explorer 'make explorer_create_env && make explorer_build_db && make run_explorer' C-m

tmux new-window -t aligned_layer -n telemetry
tmux send-keys -t aligned_layer:telemetry 'make telemetry_create_env && make telemetry_run_db && make open_telemetry_start && make telemetry_start' C-m
Loading