{"id":16179324,"url":"https://github.com/1111mp/flask_init","last_synced_at":"2025-04-07T11:43:45.857Z","repository":{"id":39760964,"uuid":"231494751","full_name":"1111mp/flask_init","owner":"1111mp","description":"An initialization project of flask.","archived":false,"fork":false,"pushed_at":"2024-09-03T14:47:28.000Z","size":1248,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T14:25:01.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1111mp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-03T02:15:23.000Z","updated_at":"2024-05-07T00:08:56.000Z","dependencies_parsed_at":"2024-05-07T01:27:03.638Z","dependency_job_id":"a9654667-973e-44ce-a9e6-7a2c813100c2","html_url":"https://github.com/1111mp/flask_init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fflask_init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fflask_init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fflask_init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fflask_init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1111mp","download_url":"https://codeload.github.com/1111mp/flask_init/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648925,"owners_count":20972942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T05:27:10.417Z","updated_at":"2025-04-07T11:43:45.828Z","avatar_url":"https://github.com/1111mp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An initialization project of flash\n\n## run project\n\npipenv 使用教程：[pipenv](https://crazygit.wiseturtles.com/2018/01/08/pipenv-tour)\n\n安装 eventlet，flask_socketio使用该库支持websocket\n\n配置vscode的settings.json文件的python.venvPath\n`pipenv --venv`\n详见 [venvPath](https://segmentfault.com/a/1190000017558652)\n\n```\npipenv install\npipenv shell and flask run\nor\nF5\n```\n\n通过\n\n```\npipenv lock -r \u003e requirements.txt\n```\n\n生成与 pip 相同格式的依赖管理文件。\n\n## Database Initialization\n\n```\nflask shell\nflask db init\nflask db migrate\nflask db upgrade\nerror: Can't locate revision identified by '91eb2489ed74' 参考：https://blog.csdn.net/Super_Tiger_Lee/article/details/77772752\n```\n\npython 中使用 protocol buffer：[参考](https://www.jianshu.com/p/b723053a86a6)\nprotoc: command not found (Linux Mac Windows)，解决方法：[stackoverflow](https://stackoverflow.com/questions/47704968/protoc-command-not-found-linux)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1111mp%2Fflask_init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1111mp%2Fflask_init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1111mp%2Fflask_init/lists"}