Created
September 5, 2017 08:00
-
-
Save cedxix/d47f0850807018c01b0fe2de6e0a27d8 to your computer and use it in GitHub Desktop.
Tmuxinator config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.tmuxinator/affmar.yml | |
name: affmar | |
root: ~/projects/ | |
# 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 affmar | |
windows: | |
- servers: | |
layout: even-vertical | |
panes: | |
- elasticsearch: | |
- cd es/ && ./bin/elasticsearch | |
- lexsursat-backend: | |
- cd lexsursat-backend/ | |
- source .venv/bin/activate | |
- python3 run.py --bind-port 4242 --context-path /lexsursat --es-host localhost --es-port 9200 --verbose | |
- storm-engine-backend: | |
- cd storm-engine-backend/ | |
- source .venv/bin/activate | |
- python3 run.py --bind-port 4248 --verbose --context-path /storm-engine --es-host localhost --es-port 9200 | |
- sentinel-passage-backend: | |
- cd sentinel-passage-backend/ | |
- source .venv/bin/activate | |
- python3 run.py --bind-port 4241 --verbose --context-path /sentinel-passage --es-host elastic:changeme@affmar1 --es-port 9200 | |
- sentinel-poller-backend: | |
- cd sentinel-poller-backend/ | |
- source .venv/bin/activate | |
- python3 run.py --bind-port 4244 --context-path /sentinel-poller --es-host elastic:changeme@affmar1 --es-port 9200 | |
- weather-backend: | |
- cd weather-backend/ | |
- source .venv/bin/activate | |
- python3 run.py --bind-port 4246 --context-path /weather --es-host elastic:changeme@affmar1 --es-port 9200 | |
- editor: | |
layout: 0c7a,165x44,0,0{82x44,0,0,7,82x44,83,0[82x22,83,0,8,82x21,83,23,9]} | |
# 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: | |
- lexsursat-frontend: | |
- cd lexsursat-frontend/ | |
- npm start | |
- vtop: | |
- vtop | |
- free-cli: | |
- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment