Skip to content

Instantly share code, notes, and snippets.

@calorie
Created March 29, 2015 22:54
Show Gist options
  • Save calorie/2db00c2103a895d11d8f to your computer and use it in GitHub Desktop.
Save calorie/2db00c2103a895d11d8f to your computer and use it in GitHub Desktop.
tmuxinator sample
# ~/.tmuxinator/hoge.yml
project_name: hoge
project_root: ~/work/hoge
pre:
- sudo dhclient -r
- sudo ifdown eth0
- sudo ifup eth0:0
windows:
- editor: vim
- debug:
layout: main-vertical
panes:
- guard
- rails c
- rails db
- shell: git stash && git pull --rebase origin master && git stash pop && rake db:migrate
- server:
layout: main-vertical
panes:
- cassandra -f
- thin start -p 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment