diff --git a/docs/ubuntu.screen b/docs/ubuntu.screen new file mode 100644 index 00000000000..b272c8acf4c --- /dev/null +++ b/docs/ubuntu.screen @@ -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