-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmuxinator-inr.yml
53 lines (40 loc) · 1.97 KB
/
tmuxinator-inr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# TODO: move the file to ~/.tmuxinator/inr.yml
# TODO: install the virtualenv, and correct the `pre_window` setting to your way of activating the venv
# TODO: correct the `root` setting to point to instanotifier sources location
# ~/.tmuxinator/inr.yml
name: instanotifier
root: ~/dev/projects/inr/instanotifier
pre_window: pyenv deactivate; pyenv activate inr37
# 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
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t inr
windows:
- editor:
layout: ae7e,147x39,0,0{85x39,0,0,0,61x39,86,0[61x19,86,0,3,61x19,86,20,5]}
# Synchronize all panes of this window, can be enabled before or after the pane commands run.
# 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after'
# synchronize: after
panes:
- #empty
- ./manage.py runserver
- celery -A instanotifier.taskapp worker -B -l info
- front-end:
panes:
- cd front-end;
- cd front-end; sudo sysctl fs.inotify.max_user_watches=524288; npm start
- mailhog: ./mailhog