Skip to content

Instantly share code, notes, and snippets.

@jamesdabbs
Created September 26, 2013 20:00
Show Gist options
  • Save jamesdabbs/6719722 to your computer and use it in GitHub Desktop.
Save jamesdabbs/6719722 to your computer and use it in GitHub Desktop.
Sample [tmuxinator](https://github.com/aziz/tmuxinator) config for the collector
# ~/.tmuxinator/collector.yml
name: collector
root: ~/src/ScoutCollector
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
windows:
- fg:
layout: main-vertical
panes:
- clear
- cd tmp/collector_io && clear && watch -n 10 ls
- sleep 5 && mongo
- mongod
- bg:
layout: main-vertical
panes:
- node-dev ./scout_collector.coffee --config config/development.json
- elasticsearch -f -D es.config=config/elasticsearch/test.json
- elasticsearch -f -D es.config=config/elasticsearch/development.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment