pip3 install flask flask-sqlalchemy flask-migrate flask-script mysql-connector-python flask-socketio requests logbook
- 安装mysql数据库
- 创建名叫testing_system的数据库
- setting.py设置连接mysql数据库的参数
- 输入以下命令拉下代码
git clone https://github.com/tdx1997tdx/auto-interface-testing-platform.git
- 输入以下命令迁移更新数据库
python3 manage.py db migrate
python3 manage.py db upgrade
python3 manage.py dbinit
- 打开应用
nohup python3 manage.py runserver --host 0.0.0.0 -p 18083 &