This repository was archived by the owner on Mar 20, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
# Define session name
4
4
5
5
SESSION=coderwall
6
6
7
7
# Go to working directory
8
8
9
- cd ~ /assemblymade/coderwall
9
+ # cd ~/assemblymade/coderwall
10
10
11
11
vagrant up --no-provision
12
12
@@ -27,7 +27,8 @@ tmux -2 new-session -d -s $SESSION
27
27
# Create windows
28
28
tmux new-window -t $SESSION :1 -n " code"
29
29
tmux new-window -t $SESSION :2 -n " web"
30
- tmux new-window -t $SESSION :3 -n " background jobs"
30
+ tmux new-window -t $SESSION :3 -n " sidekiq"
31
+ tmux new-window -t $SESSION :4 -n " clock"
31
32
32
33
# Define window roles
33
34
@@ -50,12 +51,17 @@ tmux select-pane -t 0
50
51
# tmux send-keys "clear ; env bin/rails server webrick -p3000" C-m
51
52
tmux send-keys " clear ; bundle exec puma -C ./config/puma.rb" C-m
52
53
53
- # Background Jobs
54
+ # Sidekiq
54
55
tmux select-window -t $SESSION :3
55
-
56
56
tmux select-pane -t 0
57
57
tmux send-keys " clear ; bundle exec sidekiq -C ./config/sidekiq.yml" C-m
58
58
59
+ # Clock
60
+ tmux select-window -t $SESSION :4
61
+ tmux select-pane -t 0
62
+ tmux send-keys " clear ; bundle exec clockwork app/clock.rb" C-m
63
+
64
+
59
65
# Set the initial working window
60
66
tmux select-window -t $SESSION :1
61
67
You can’t perform that action at this time.
0 commit comments