-
Install python requirements:
pip install -r minigui/requirements.txt -
Download a model from our public bucket and set the path appropriately in
serve.pywhere it saysMODEL_PATH = .... -
Set the board size variables appropriately in
serve.pyand inminigui.ts. TODO: make this board size detection automatic -
Make sure the command at the top of
serve.pyactually runs and printsGTP engine ready; if not, something is wrong with the rest of the minigo setup, like virtualenv or similar. -
Compile the typescript. (Requires typescript compiler). Running
cd minigui; tscshould find and compile the relevant files. -
Set your current working directory to minigo root and start the flask server.
FLASK_DEBUG=1 FLASK_APP=minigui/serve.py flask run --port 5001
-
open localhost:5001.
-
The buttons in the upper right that say 'Human' can be toggled to set which color Minigo will play.