mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:12:46 +08:00
Add ubuntu screen file (#7094)
This commit is contained in:
parent
fea5d4f3ec
commit
ddb87e2759
18
docs/ubuntu.screen
Normal file
18
docs/ubuntu.screen
Normal 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
|
Loading…
Reference in New Issue
Block a user