pip install -r requirements-dev.txt
CREATE DATABASE `{db_name}` DEFAULT CHARACTER SET = `utf8mb4`;
# 只有第一次需要使用
python manage.py db init
# 检查 model 是否更新
python manage.py db migrate
# 更新数据库
python manage.py db upgrade
配置相关环境变量
cp seattle/local_config.py.template seattle/local_config.py
运行
python run.py
sh tools/format_python_code.sh