AI Translation Notice
This document is automatically translated by AI. If you can read Chinese, we recommend checking the original Chinese documentation for more accurate information.
Deploying from Source Code
For Android Termux deployment, please visit 🔗 Deployment Method (Only Chinese!!!)
WARNING
Regardless, it is not recommended for regular users to deploy directly from source code. There will be no official update program support for source code deployment, and using git pull also carries the risk of damaging the program.
First, install Python 3.10.x
Then, you need to prepare adb and aria2 yourself.
Installing from Git
Windows
Install Git using winget
winget install Git.GitOr download from Git official website, run the installer, and click Next all the way through
Don't worry about installing to C drive taking up space, it's just a 100+MB software
Then, in the location where you want to install BAAH, open the terminal and run the following.
# 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.gitDon't close the window, run cd BAAH to enter the folder, and install dependencies.
# Switch source
pip config set global.index-url https://mirrors.cernet.edu.cn/pypi/web/simple
# Install dependencies
pip install -r requirements.txtUse python jsoneditor.py to run the WebUI, and modify the adb and aria2 paths in the configuration file editing interface.
Execute python jsoneditor.py config.json to start BAAH according to the config.json configuration.
Installing from Source Archive
No need to install Git, download the source code zip and extract it to the desired folder. Open the terminal in the BAAH source code folder, then install dependencies and run.