Welcome to acore_server_bootstrap Documentation
项目背景
在大规模游戏服务器 (Azerothcore) 部署的流程中, 我们通常会将其分为以下几个步骤:
游戏服务器核心的编译.
将编译好的游戏服务器打包成镜像.
对用镜像启动的游戏服务器进行自动配置.
而 #3 这一步又可以分为以下几个步骤:
创建数据库的 user.
创建三个数据库 (auth, characters, world), 如果还没创建过的话.
将必要的配置写入数据中 (realmlist).
将最新的配置写入 *.conf 文件中.
禁止 ubuntu 的自动升级.
对游戏服务器的启动脚本赋予可执行权限.
启动游戏服务器.
安装其他服务器组件, 例如 SOAP Agent, DB Agent 等.
这一连串步骤在每次开新服, 或是修改了配置文件的时候都需要进行, 非常的麻烦. 为了解决这个问题, 我们开发了 acore_server_bootstrap 这个工具, 它可以帮助我们自动完成上述的所有步骤.
Note
注意, 该工具假设服务器的文件目录严格遵循了 acore_paths 项目中的定义. 如果该假设不满足, 则无法使用该工具. 例如我们构建的服务器核心要在 /home/ubuntu/azeroth-server 目录下.
Document
如果想详细了解 bootstrap 的原理和所有命令的细节, 请阅读 How bootstrap works
Cheat Sheet
如果你已经熟悉了 bootstrap 的原理, 可以直接查看 Cheat Sheet 来查看所有命令的用法.
Install
acore_server_bootstrap is released on PyPI, so all you need is to:
$ pip install acore-server-bootstrap
To upgrade to latest version:
$ pip install --upgrade acore-server-bootstrap
Metadata
Release files for acore-server-bootstrap 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acore_server_bootstrap-1.2.1.tar.gz | 33.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acore_server_bootstrap-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.8 kB
Release files / acore_server_bootstrap-1.2.1.tar.gz
| Download URL | acore_server_bootstrap-1.2.1.tar.gz |
|---|---|
| Size | 33.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf919cd93170e6e1041cddc62bf184dad171a8433b870c0d293cedc0fad017a7
|
|
BLAKE2b-256 checksum How to use checksums |
194f2309963435bcb09d5cfc9521b4dc9d6ecb395e2c516a73d6385c855aa1e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.8
|
Release files / acore_server_bootstrap-1.2.1-py3-none-any.whl
| Download URL | acore_server_bootstrap-1.2.1-py3-none-any.whl |
|---|---|
| Size | 36.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6184ff220b85a96300e802461ad0e09f6b52d19c9f45f5b01636d1fd25b32cd4
|
|
BLAKE2b-256 checksum How to use checksums |
3f6f9d289b6e384b032684ec1f57d00dfe8d5f0fe1f9f92b6414f1f7b744759a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.8
|