Skip to content

Commit

Permalink
Update run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Blake committed Jul 27, 2016
1 parent fa2895e commit a8e22a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

_SCRIPT_LOCATION = os.path.abspath(os.path.dirname(__file__))
_MANAGE_PY = os.path.join(_SCRIPT_LOCATION, 'example_project', 'manage.py')
_SERVICE_PY = os.path.join(_SCRIPT_LOCATION, 'aimmo-game', 'service.py')
_SERVICE_PY = os.path.join(_SCRIPT_LOCATION, 'aimmo-game-creator', 'service.py')


if __name__ == '__main__':
Expand Down Expand Up @@ -70,7 +70,7 @@ def main():

server = run_command_async(['python', _MANAGE_PY, 'runserver'] + server_args)
time.sleep(2)
game = run_command_async(['python', _SERVICE_PY, '127.0.0.1', '5000'])
game = run_command_async(['python', _SERVICE_PY])

server.wait()
game.wait()
Expand Down

0 comments on commit a8e22a4

Please sign in to comment.