-
-
Save mikeyp/3853847ad15beae2d761e85e26165a7e to your computer and use it in GitHub Desktop.
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
# /Users/mdp/.config/tmuxinator/project-name.yml | |
name: project-name | |
root: ~/projects/project-directory | |
# Runs on project start, always | |
on_project_start: docker-compose --env-file ./database/.env up -d | |
# Run on project stop | |
on_project_stop: docker-compose --env-file ./database/.env stop | |
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. | |
pre_window: fnm install | |
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. | |
startup_window: editor | |
# Controls whether the tmux session should be attached to automatically. Defaults to true. | |
attach: true | |
windows: | |
- editor: nvim | |
- server: ./script/run/dev.sh | |
- app-console: ./script/app/console | |
- db-console: | |
root: ~/projects/project-directory/database | |
panes: | |
- psql -U community -p5435 -h 127.0.0.1 database_name | |
- shell: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment