Add ubuntu screen file (#7094)

This commit is contained in:
sau226 2019-03-04 12:01:12 +08:00 committed by Sam
parent fea5d4f3ec
commit ddb87e2759

18
docs/ubuntu.screen Normal file
View File

@ -0,0 +1,18 @@
# GNU screen configuration file for Discourse Ubuntu development
# Start up your development instance in detached mode:
# screen -d -m -c docs/ubuntu.screen
# Start in attached mode:
# screen -m -c docs/ubuntu.screen
# commands that exit hang around until you hit 'k' to kill or 'r' to restart
zombie kr
screen -t rails_s 0 bash -c 'echo Starting rails server...; cd ~/discourse; bundle exec rails s -b 0.0.0.0'
screen -t rails_c 1 bash -c 'echo Starting rails console...; cd ~/discourse; bundle exec rails c'
screen -t sidekiq 2 bash -c 'echo Starting sidekiq...; cd ~/discourse; bundle exec sidekiq -l log/sidekiq.log'
screen -t mail 3 bash -c 'echo Starting mailcatcher...; cd ~/discourse; mailcatcher --http-ip 0.0.0.0'
screen -t bash 4 bash
scrollback 50000