Last active
December 22, 2015 11:58
-
-
Save Sephi-Chan/6468686 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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