Skip to content

Instantly share code, notes, and snippets.

@dongyuwei
Last active December 29, 2015 14:59
Show Gist options
  • Save dongyuwei/7687823 to your computer and use it in GitHub Desktop.
Save dongyuwei/7687823 to your computer and use it in GitHub Desktop.
tmux and teamocil config
windows:
- name: "start-rea-services"
root: "~/code"
layout: tiled
panes:
- cmd: "cd solr-search/ && git pull --rebase && bundle exec rake dev:run"
- cmd: "cd search-api/ && git pull --rebase && ./gradlew run"
- cmd: "cd location-service/ && git pull --rebase && ./gradlew run"
- cmd: "cd china-jobs/ && git pull --rebase && sh start.sh"
- cmd: "redis-server /usr/local/etc/redis.conf"
- cmd: "mongod --fork"
@dongyuwei
Copy link
Author

  • brew install tmux
  • sudo gem install teamocil
  • mkdir ~/.teamocil
  • teamocil --edit rea #rea.yml
  • tmux
  • teamocil rea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment