Merge pull request #4251 from cpradio/update-vagrant-screen

Update vagrant.screen to make use of work by @tarek
This commit is contained in:
Jeff Atwood 2016-06-05 12:47:02 -07:00
commit 56c7da76a4
1 changed files with 4 additions and 3 deletions

View File

@ -9,9 +9,10 @@
# commands that exit hang around until you hit 'k' to kill or 'r' to restart # commands that exit hang around until you hit 'k' to kill or 'r' to restart
zombie kr zombie kr
screen -t rails_s 0 bash -c 'echo Starting rails server...; cd /vagrant; bundle exec rails s' screen -t rails_s 0 bash -c 'echo Starting rails server...; cd /vagrant; bundle exec rails s -b 0.0.0.0'
screen -t rails_c 1 bash -c 'echo Starting rails console...; cd /vagrant; bundle exec rails c' screen -t rails_c 1 bash -c 'echo Starting rails console...; cd /vagrant; bundle exec rails c'
screen -t sidekiq 2 bash -c 'echo Starting sidekiq...; cd /vagrant; bundle exec sidekiq' screen -t sidekiq 2 bash -c 'echo Starting sidekiq...; cd /vagrant; bundle exec sidekiq -l log/sidekiq.log'
screen -t guard 3 bash -c 'echo Starting guard...; cd /vagrant; bundle exec rake db:test:prepare; bundle exec guard -p' screen -t mail 3 bash -c 'echo Starting mailcatcher...; cd /; mailcatcher --ip 0.0.0.0'
screen -t bash 4 bash
scrollback 50000 scrollback 50000