Playbooks to deploy multi-node pipeline for Starcraft II replay processing.
- One or more Windows 7/8/10 boxes with a StarCraft II installation.
- One or more linux hosts.
- Access to a BlueMix Object Storage account.
- Access to a Watson Analytics account.
- People who play StarCraft and want to know more about how they play!
-
Clone this repo:
git clone https://github.com/eggshell/replay_pipeline.git
-
Install python requirements (use of a virtualenv is recommended):
pip install -r requirements.txt
-
Fill out
inventory/hosts
with your windows and linux ip addresses or hostnames that you want to point to. -
Fill out
inventory/group_vars/windows
andinventory/group_vars/all.yml
with your BlueMix Object Storage and Watson Analytics secrets. -
Run
site.yml
:ansible-playbook -vvvv -i inventory/hosts site.yml
Once the installation is complete on all machines, all you need to do is play a game of StarCraft II! All .SC2Replay
files will be pushed through your shiny new pipeline and you'll get some neat graphs to look at in your Watson Analytics account.
Please use the Issue Tracker for bug reports and feature requests.
Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.
- Thanks to Ansible for the upgrade_to_ps3.ps1 script.
- Thanks to naturalis for the openrc interpreter script which was modified to fit the use case in this repo.
- Thanks to IamMred, who answered this forum post for the base of our watch_for_replays.ps1 script, which was modified to fit the use case in this repo.