Skip to content

ShangSky/cookiecutter-flask-sugar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cookiecutter-flask-sugar

基于flask-sugar flask-seek的项目模板

  • vscode 配置
{
    "python.analysis.diagnosticMode": "workspace",
    "python.formatting.provider": "black",
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
    }
}
  • 启动
pip install cookiecutter
cookiecutter https://github.com/ShangSky/cookiecutter-flask-sugar.git
pip install -r requirements.txt
export PYTHONPATH=$PWD
python cmd/db_cli.py create-data models
python main.py
curl http://127.0.0.1:5000/ping
  • 创建表工具
python cmd/db_cli.py --help
  • 格式化代码
sh cmd/code_format.sh

About

基于flask-sugar flask-seek的项目模板

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published