testerSunshine/12306 Installation Guide
How to install testerSunshine/12306. Official project installation instructions and setup guide.
Automated Install (Recommended)
Quick installation instructions for testerSunshine/12306. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i testerSunshine/12306Install via npx
npx @hexmos/ipm i testerSunshine/12306Prerequisites
Python
languageVersion: 3.6 - 3.7.4 or 2.7.10 - 2.7.15
pip
package_managerVersion: 20.0.1
docker
system_tooldocker-compose
system_toolVersion: 1.23.2
tensorflow
libraryVersion: 1.14.0rc 1.14.0rc 1.15.0 1.15.0rc
captcha-model
other需要下载模型,请参考[模型下载链接](https://pan.baidu.com/s/1rS155VjweWVWIJogakechA 密码:bmlm)
server酱
service需要安装server酱,请参考[server酱教程](https://www.jianshu.com/p/8d10b5b9c4e3)
需要安装邮箱,请参考[邮箱教程](https://www.jianshu.com/p/8d10b5b9c4e3)
code server
service需要安装代码服务器,请参考[代码服务器教程](https://github.com/testerSunshine/12306/issues/446)
git
system_toolVersion: 2.3.1
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Clone the repository and run the script
python3 run.py -hInstall dependencies using pip
pip install -r requirements.txtStart the docker container
docker-compose up --build -dPost Installation Steps
- Start the server: `python3 run.py`
- Run migrations: `python3 manage.py migrate`
