13 lines
237 B
Bash
13 lines
237 B
Bash
|
cd /usr/app
|
||
|
bundle
|
||
|
|
||
|
service mysql start
|
||
|
rails db:setup
|
||
|
rails db:migrate
|
||
|
rails db:fixtures:load
|
||
|
|
||
|
tmux new-session -d -s 'rails-dev' 'rails s -b 0.0.0.0'
|
||
|
tmux split-window -p 80 -v guard
|
||
|
tmux split-window -p 25 -v
|
||
|
tmux attach -t rails-dev
|