# ~/.tmuxinator/storex.yml

name: storex
root: ~/elixir/storex

# Runs before everything. Use it to start daemons etc.
on_project_first_start:
  - mix deps.get
  - mix compile --force
on_project_start:
  - brew services start postgresql
  # - brew services start redis
  # - mailcatcher
on_project_stop:
  # - brew services stop postgresql
  # - brew services stop redis
on_project_exit:
  # - brew services stop postgresql
  # - brew services stop redis

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
pre_window:
  - asdf local elixir 1.5.3
  - asdf local erlang 20.2

# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
startup_window: editor

windows:
  - editor: vim
  - tests: # mix test.watch
  - console: iex -S mix
  - server: iex -S mix phx.server

# ~/.tmuxinator/storex.yml

name: storex
root: ~/elixir/storex

# Runs before everything. Use it to start daemons etc.
on_project_first_start:
  - mix deps.get
  - mix compile --force
on_project_start:
  - brew services start postgresql
  # - brew services start redis
  # - mailcatcher
on_project_stop:
  # - brew services stop postgresql
  # - brew services stop redis
on_project_exit:
  # - brew services stop postgresql
  # - brew services stop redis

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
pre_window:
  - asdf local elixir 1.6.0
  - asdf local erlang 20.2.2

# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
startup_window: editor

windows:
  - editor: vim
  - tests: # mix test.watch
  - console: iex -S mix
  - server: iex -S mix phx.server

Update tmux config for Storex
Update tmux config for Storex
