Skip to content

Yi-Kai/leela-zero-server

 
 

Repository files navigation

Build status

leela-zero-server

Dev Environment Setup

Requirements

Before running node server.js

  • Ensure MongoDB is running locally on port 27017
  • Ensure dummy auth_key file is created at project root
  • Ensure network/best-network.gz & network/<best-network-hash>.gz both exist (you could download it from http://zero.sjeng.org/best-network)
  • Build mongo index, run mongodb.indexes in mongo console
  • Run npm install to get required packages

Your project folder should look like this

- Project Root/
  - network/
    - best-network.gz
    - <best-network-hash>.gz   (e.g. 39d465076ed1bdeaf4f85b35c2b569f604daa60076cbee9bbaab359f92a7c1c4.gz)
  - node_modules/              (generated from `npm update`)
    - ...                      (bunch of packages)
  - static/
  - views/
  - auth_key                   (dummy file)
  - task_secret                (dummy file)
  - ...                        (and other project files)
  - server.js
  
  

License

The code is released under the AGPLv3 or later. See the LICENSE file for details.

About

Server side code of the Leela Zero project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 78.6%
  • CSS 13.3%
  • HTML 6.4%
  • ActionScript 1.7%