-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstatalytics.window.sh
More file actions
42 lines (32 loc) · 923 Bytes
/
statalytics.window.sh
File metadata and controls
42 lines (32 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# --- MAIN ---
select_window 0
window_root "./"
run_cmd "tmux rename-window 'Statalytics'"
run_cmd "OPEN_NVIM=true DEPENDENCY_GROUP=all nix develop"
split_h 25
select_pane 1
run_cmd "docker compose -f docker-compose.dev.yml up --build bot"
select_pane 0
# --- WEBSITE ---
window_root "./apps/website"
new_window "Statalytics Website"
run_cmd "OPEN_NVIM=true DEPENDENCY_GROUP=website nix develop ../../"
split_h 25
select_pane 1
run_cmd "cd ../../"
run_cmd "docker compose -f docker-compose.dev.yml up --build website"
select_pane 0
# --- UTILS ---
window_root "./apps/utils"
new_window "Statalytics Utils"
run_cmd "OPEN_NVIM=true DEPENDENCY_GROUP=utils nix develop ../../"
split_h 25
select_pane 1
run_cmd "cd ../../"
run_cmd "docker compose -f docker-compose.dev.yml up --build utils"
select_pane 0
# --- CLOUDFLARED ---
window_root "./"
new_window "Cloudflared"
run_cmd "cloudflared tunnel run"
select_window 0