1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-08 07:22:38 +00:00

Moved files out of the root of the project to bin and deploy where they belong

This commit is contained in:
2018-01-09 07:58:37 -05:00
parent d88000f06a
commit a36a083826
17 changed files with 55 additions and 53 deletions

17
bin/tmux.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
project_dir="$(dirname $( dirname $(readlink -f ${BASH_SOURCE[0]})))"
cd ${project_dir}
CURRENT_SESSION=wrestlingdev
tmux new-session -d -s $CURRENT_SESSION
tmux send-keys 'vim' 'C-m'
tmux send-keys ':NERDTree' 'C-m'
tmux rename-window rails-vim
tmux new-window
tmux rename-window rails
tmux send-keys 'bash bin/rails-dev-run.sh wrestlingdev' 'C-m'
tmux send-keys 'bash bin/rails-dev-db-create.sh' 'C-m'
tmux new-window
tmux rename-window rails-git
tmux select-window -t 0
tmux attach -t $CURRENT_SESSION