Skip to content

Instantly share code, notes, and snippets.

@Sephi-Chan
Last active December 22, 2015 11:58
Show Gist options
  • Save Sephi-Chan/6468686 to your computer and use it in GitHub Desktop.
Save Sephi-Chan/6468686 to your computer and use it in GitHub Desktop.
path = '/Users/romaintribes/Seelies'
# RabbitMQ, Web app and models
run "cd #{path}/web_app"
run 'rabbitmq-server -detached'
run 'sleep 1'
run 'subl .'
run 'sleep 1'
run 'rails server --port 3100'
tab "cd #{path}/web_app"
tab "cd #{path}/web_app"
tab 'Seelies models' do
run "cd #{path}/seelies_models"
run "subl ."
end
window 'Daemons' do
# Match maker
run "cd #{path}/match_maker"
run 'sleep 2'
run 'bin/match_maker'
tab 'Game runner' do
run "cd #{path}/game_runner"
run 'sleep 2'
run 'bin/game_runner'
end
tab 'Communication server' do
run "cd #{path}/communication_server"
run 'sleep 2'
run 'bin/communication_server'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment