skill-assessment-app/start-dev.sh

13 lines
237 B
Bash
Raw Normal View History

2016-07-26 10:38:00 -05:00
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