Skip to content

Commit 8da0578

Browse files
committed
Merge pull request discourse#1307 from Supermathie/vagrant-screen
Add GNU screen configuration file for vagrant love
2 parents 2e84286 + 1c0d557 commit 8da0578

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/vagrant.screen

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# GNU screen configuration file for Discourse vagrant image
2+
3+
# Start up development support commands in detached mode:
4+
# screen -d -m -c docs/vagrant.screen
5+
6+
# Start in attached mode:
7+
# screen -m -c docs/vagrant.screen
8+
9+
# commands that exit hang around until you hit 'k' to kill or 'r' to restart
10+
zombie kr
11+
12+
screen -t rails_s 0 bash -c 'echo Starting rails server...; cd /vagrant; bundle exec rails s'
13+
screen -t rails_c 1 bash -c 'echo Starting rails console...; cd /vagrant; bundle exec rails c'
14+
screen -t sidekiq 2 bash -c 'echo Starting sidekiq...; cd /vagrant; bundle exec sidekiq'
15+
screen -t guard 3 bash -c 'echo Starting guard...; cd /vagrant; bundle exec rake db:test:prepare; bundle exec guard -p'
16+
17+
scrollback 50000

0 commit comments

Comments
 (0)