Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/en_US/docs/manual/source-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ Most distributions come with Git pre-installed. If not, please install it from t
Then, in the location where you want to install BAAH, open the terminal and run the following.

``` cmd
# If you have good network connection to GitHub, run this
git clone https://github.com/BlueArchiveArisHelper/BAAH.git
# If not, run the following
git clone https://gh-proxy.com/BlueArchiveArisHelper/BAAH.git
```

Don't close the window, run `cd BAAH` to enter the folder, and install dependencies.
Expand Down
45 changes: 43 additions & 2 deletions src/zh_CN/docs/manual/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ description: 3 步完成 BlueArchive Aris Helper 部署!MuMu 模拟器设置
== Linux
**Linux**

首先,确保你的系统内包含Docker,可以输入一下命令查看
首先,确保你的系统内包含Docker或podman,可以输入一下命令查看

``` bash
# 对于ROOT用户
Expand Down Expand Up @@ -159,10 +159,51 @@ For more help on how to use Docker, head to https://docs.docker.com/go/guides/

然后,拉取镜像,创建并运行容器。

镜像发布: [Github Package](https://github.com/BlueArchiveArisHelper/BAAH/pkgs/container/baah)

:::: tabs

== docker

**docker**

``` bash
docker run -d --name BAAH -p 8000:8000 ghcr.io/bluearchivearishelper/baah:latest
# 如果你使用模拟器/其他Android容器,使用端口转发
sudo docker run -d --name BAAH -p 8000:8000 ghcr.io/bluearchivearishelper/baah:latest
# # 南京大学镜像站
sudo docker run -d --name BAAH -p 8000:8000 ghcr.nju.edu.cn/bluearchivearishelper/baah:latest
# # 国内版本(不推荐)
sudo docker run -d --name BAAH -p 8000:8000 docker.cnb.cool/ycawa/baah:latest

# 如果你需要连接远程Android设备,请在宿主机开启ADB Server,并使用host模式
sudo docker run -d --name BAAH --net=host ghcr.io/bluearchivearishelper/baah:latest
# # 南京大学镜像站
sudo docker run -d --name BAAH --net=host ghcr.nju.edu.cn/bluearchivearishelper/baah:latest
# # 国内版本(不推荐)
sudo docker run -d --name BAAH --net=host docker.cnb.cool/ycawa/baah:latest
```

== podman

``` bash
# 推荐在系统级运行BAAH容器
# 如果你使用模拟器/其他Android容器,使用端口转发
podman run -d --name BAAH -p 8000:8000 ghcr.io/bluearchivearishelper/baah:latest
# # 南京大学镜像站
podman run -d --name BAAH -p 8000:8000 ghcr.nju.edu.cn/bluearchivearishelper/baah:latest
# # 国内版本(不推荐)
podman run -d --name BAAH -p 8000:8000 docker.cnb.cool/ycawa/baah:latest

# 如果你需要连接远程Android设备,请在宿主机开启ADB Server,并使用host模式
podman run -d --name BAAH --net=host ghcr.io/bluearchivearishelper/baah:latest
# # 南京大学镜像站
podman run -d --name BAAH --net=host ghcr.nju.edu.cn/bluearchivearishelper/baah:latest
# # 国内版本(不推荐)
podman run -d --name BAAH --net=host docker.cnb.cool/ycawa/baah:latest
```

::::

随后打开浏览器,打开 `http://<your-server-ip>:8000`

在服务器设置中,选择你游玩的 BA 服务器。
Expand Down
2 changes: 1 addition & 1 deletion src/zh_CN/docs/manual/source-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ brew install git
# 如果你连接 GitHub 的网络良好,运行这个
git clone https://github.com/BlueArchiveArisHelper/BAAH.git
# 如果不好,运行下列内容
git clone https://gh-proxy.com/BlueArchiveArisHelper/BAAH.git
git clone https://v6.gh-proxy.com/github.com/BlueArchiveArisHelper/BAAH.git
```

不要关闭窗口,运行 `cd BAAH` 进入文件夹,安装依赖。
Expand Down