Skip to main content

Package short description.

Project description

Documentation Status https://github.com/MacHu-GWU/acore_server_bootstrap-project/actions/workflows/main.yml/badge.svg https://codecov.io/gh/MacHu-GWU/acore_server_bootstrap-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/acore-server-bootstrap.svg https://img.shields.io/pypi/l/acore-server-bootstrap.svg https://img.shields.io/pypi/pyversions/acore-server-bootstrap.svg https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social https://img.shields.io/badge/Acore_Doc--None.svg?style=social&logo=readthedocs
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to acore_server_bootstrap Documentation

https://acore-server-bootstrap.readthedocs.io/en/latest/_static/acore_server_bootstrap-logo.png

项目背景

在大规模游戏服务器 (Azerothcore) 部署的流程中, 我们通常会将其分为以下几个步骤:

  1. 游戏服务器核心的编译.

  2. 将编译好的游戏服务器打包成镜像.

  3. 对用镜像启动的游戏服务器进行自动配置.

而 #3 这一步又可以分为以下几个步骤:

  1. 创建数据库的 user.

  2. 创建三个数据库 (auth, characters, world), 如果还没创建过的话.

  3. 将必要的配置写入数据中 (realmlist).

  4. 将最新的配置写入 *.conf 文件中.

  5. 禁止 ubuntu 的自动升级.

  6. 对游戏服务器的启动脚本赋予可执行权限.

  7. 启动游戏服务器.

  8. 安装其他服务器组件, 例如 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acore_server_bootstrap-1.1.2.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

acore_server_bootstrap-1.1.2-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file acore_server_bootstrap-1.1.2.tar.gz.

File metadata

File hashes

Hashes for acore_server_bootstrap-1.1.2.tar.gz
Algorithm Hash digest
SHA256 30b3102d29dd1e7d944ba2160238bf9e1c52846430939ccc6d6a90c480569859
MD5 a2f78ab73f7c40f93659b550cc348be3
BLAKE2b-256 1979916817d31950a5e6890d0e062faf6f55c9cb008592d0bef3f3aea70b6987

See more details on using hashes here.

File details

Details for the file acore_server_bootstrap-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for acore_server_bootstrap-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66f51523e0db5c1b803246f9e114e14dd1df118f61a9d0283beb39ded96eb77a
MD5 4584547ac96a04455bb11fc3f22c0c25
BLAKE2b-256 83fbe9dfc8c018da16e093ade228d7a6f8fe6abafabd4152cffca15328fe7e1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page