BNETDocs is a web content management system (CMS) for the Battle.net™ online gaming service protocol, with its purpose to document the Battle.net™ protocol.
BNETDocs is in no way affiliated with or endorsed by Blizzard Entertainment™ or its brands, and is not intended to compete with or undermine Blizzard Entertainment™ or Battle.net™. Persons using this software understand that the information provided within is collected knowledge from years of observations and may be inaccurate. All aforementioned trademarks are the property of their respective owners. See the LICENSE file at the root of this repository for more info.
BNETDocs: Phoenix is the successor to BNETDocs: Redux.
- Clone this repository to a local directory on your development environment.
- Recommended location:
/home/nginx/bnetdocs-local/
- Setup an nginx/php-fpm web server using nginx-conf as the config.
- Modify the example server config to use
local.bnetdocs.orginstead. - Add the following to the
local.bnetdocs.orgserver config file:
include conf.d/php.conf; - Add the following to the
local.bnetdocs.orgserver config file:
location / { try_files /static$uri /main.php$is_args$args; }
- Install additional php modules:
- php-gmp
- php-mbstring
- php-mcrypt
- php-memcache
- php-memcached
- php-mysqlnd
- php-pdo
- php-pecl-geoip
- php-pecl-http
- php-pecl-jsonc
- Start nginx and php-fpm on your server and ensure they begin running.
- Import and setup the sample database.
- Copy
/config.sample.jsonto/config.phoenix.jsonand modify it to your environment. - Try accessing this endpoint: local.bnetdocs.org
- You may need to modify your
/etc/hostsfile if your development environment is not your localhost.