{"id":13501980,"url":"https://github.com/CelloCello/flask-go","last_synced_at":"2025-03-29T10:32:34.969Z","repository":{"id":57430344,"uuid":"44040141","full_name":"CelloCello/flask-go","owner":"CelloCello","description":"Let you create flask project like use django-admin","archived":false,"fork":false,"pushed_at":"2019-10-01T16:57:55.000Z","size":10,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T18:34:31.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CelloCello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-11T05:13:53.000Z","updated_at":"2019-02-21T07:33:34.000Z","dependencies_parsed_at":"2022-08-26T04:43:39.910Z","dependency_job_id":null,"html_url":"https://github.com/CelloCello/flask-go","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/CelloCello%2Fflask-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelloCello%2Fflask-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelloCello%2Fflask-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CelloCello%2Fflask-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CelloCello","download_url":"https://codeload.github.com/CelloCello/flask-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174173,"owners_count":20735406,"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-07-31T22:01:57.324Z","updated_at":"2025-03-29T10:32:34.681Z","avatar_url":"https://github.com/CelloCello.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# flask-go\r\nLet you create flask project like use django-admin\r\n\r\n\r\n# install\r\n\r\n\tpip install flask-go\r\n\r\n\r\n# How to use\r\nIt has two command now, `startproject` and `startapp`.\r\nIf you familiar with Django, use `flask-go` just like django-admin.\r\n\r\n## create project\r\n\r\n\tflask-go startproject project_name\r\n\r\nIt will create project in current folder.\r\nif you want to create into specific path, you can:\r\n\r\n\tflask-go startproject project_name destination\r\n\r\n## use your own template\r\nIf you want to use your own project template files, `flask-go` also support `--template` command option.\r\n\r\n\tflask-go startproject project_name --template /Users/Cello/Code/my_project_template\r\n\r\n`flask-go` will replace `project_name` string in folder and file name and replace `%(project_name)s` in code text.\r\n\r\n## create blueprint\r\nLike `startproject` command, but change to use `startapp`.\r\n\r\n\tflask-go startapp myapp\r\n\r\n`startapp` also support creat into specific path and `--template` command option.\r\n\r\nAfter creating blueprint, you should add it into your project.\r\nOpen `settings.py` and import your app:\r\n\r\n```\r\n# blueprint\r\nfrom apps.myapp.views import myapp\r\n\r\nSYSTEM_BLUEPRINTS = (\r\n    (myapp, None),\t# blueprint and url_prefix\r\n)\r\n```\r\n\r\n## run flask\r\n\r\n\tpython manage.py run\r\n\r\nHave fun!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCelloCello%2Fflask-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCelloCello%2Fflask-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCelloCello%2Fflask-go/lists"}