TMUXINATOR
Instant Development Environment
@josephj6802
Slide 2
Slide 2 text
How long does it take you to start
Stackla development environment?
Question 1
Content
Ingestion
gnip
sqsdb
vagrant up
git fetch
Shifter
PHP Storm
phinx migrate
Slide 3
Slide 3 text
How long does it take you to start
other projects you did
last year / last month / last week?
Question 2
• Folder?
• Server port and host?
• Required services?
• Dev Tools you used before?
Slide 4
Slide 4 text
Much better than screen
Restoring your working session and state
Pane Pane
Windows * 8
Slide 5
Slide 5 text
Could have very complex panes
Not really useful for me :p
Slide 6
Slide 6 text
tmuxinator
Manage complex tmux sessions easily
Slide 7
Slide 7 text
Project Setting
~/.tmuxinator/stackla-web.yml
tmuxinator creates different layouts for different projects
~/.tmuxinator/stackla-developer.yml
Slide 8
Slide 8 text
Project Setting
~/.tmuxinator/stackla-web.yml
tmuxinator creates different layouts for different projects
~/.tmuxinator/stackla-developer.yml
Demo
• $ tmuxinator stackla-web
• $ tmuxinator stackla-developer
• $ tmuxinator
• $ tmuxinator
• : Switch between projects
Slide 9
Slide 9 text
$ wget -O - https://
raw.githubusercontent.com/josephj/
tmuxinator-installer/master/install.sh |
sh
Lazy Installation for OSX
Remember to update the root property of
~/.tmuxinator/stackla-web
Slide 10
Slide 10 text
Basic Usage
$ mux stackla-web
Ctrl + a, n
Ctrl + a, p
Ctrl + a, d
Ctrl + a,
$ tmux a
Initialise stackla-web project
Switch to next window
Switch to previous window
Jump by window number
Detach tmux
Attach tmux
Slide 11
Slide 11 text
Thank You!
Tools Developer
Good developer should always tweak his/her tools
for better productivity