# learn_pear_admin_flask **Repository Path**: zhengxinonly/learn_pear_admin_flask ## Basic Information - **Project Name**: learn_pear_admin_flask - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-05-19 - **Last Updated**: 2024-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 本地启动 环境要求:python 3.10 以上,安装了 poetry 初始化环境 ```shell poetry install ``` 初始化数据库 ```shell flask init ``` 启动 ```shell flask run ``` ## 贡献指南 如果想参与项目的贡献,提交代码之前需要启用 pre-commit、commitizen 对代码进行校验,运行以下指令即可。 初始化 pre-commit ```shell pre-commit install ``` 检查代码是否符合规范 ```shell git add . ``` ```shell pre-commit run --all-files ``` 初始化 commitizen ```shell pre-commit install -t commit-msg ``` 使用 ```shell cz commit ``` 代替 `git commit` 进行提交