{"id":20420348,"url":"https://github.com/deepraining/beego-starter","last_synced_at":"2026-05-21T16:38:06.452Z","repository":{"id":135801563,"uuid":"526571307","full_name":"deepraining/beego-starter","owner":"deepraining","description":"用于快速创建 Beego 应用的模板脚手架","archived":false,"fork":false,"pushed_at":"2022-09-07T06:33:04.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T14:35:55.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepraining.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-19T10:58:25.000Z","updated_at":"2022-09-01T03:39:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"71b6b1de-600f-4c4e-ab44-2c14c2a6449f","html_url":"https://github.com/deepraining/beego-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fbeego-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fbeego-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fbeego-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fbeego-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepraining","download_url":"https://codeload.github.com/deepraining/beego-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241963951,"owners_count":20049935,"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-11-15T06:42:32.572Z","updated_at":"2025-12-03T16:01:49.395Z","avatar_url":"https://github.com/deepraining.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beego-starter\n\n用于快速创建 [Beego](https://beego.vip/) 应用的模板脚手架。\n\n项目功能参考 [spring-boot-starter](https://github.com/deepraining/spring-boot-starter) 的 `pro-admin` 子项目\n\n## 创建项目\n\n克隆代码，然后根据需要调整项目与代码\n\n```\ngit clone https://github.com/deepraining/beego-starter.git yourProName --depth=1\n\ncd yourProName\n```\n\n去掉原有的 Git 信息，并重新初始化\n\n```\nrm -rf .git\n\ngit init\n```\n\n创建数据库与表结构（可以自行修改）\n\n```\n# 本地环境：默认 flyway.conf 配置文件\nflyway migrate\n\n# 线上环境\nflyway migrate -configFiles=flyway-prod.conf\n\n# 如果你需要配置更多的环境，可以自己添加\n```\n\n## 运行项目\n\n执行本地开发调试 `bee run` 命令，然后在浏览器中打开 `http://127.0.0.1:8080`\n\n## 部署项目\n\n在服务器上，找个合适的地方创建 `serverDirName` 目录\n\n把本地 `beego-starter, bin/run.sh, bin/select.sh` 上传到 `serverDirName` 目录，并按实际需要修改 `run.sh, select.sh` 中 `SERVER_ENV` 与 `BIN_NAME` 变量的值\n\n```\n- serverDirName/\n  - run.sh              # 运行、停止、重启、查看程序\n  - select.sh           # 运行最新版本的二进制文件\n  - beego-starter       # 二进制程序\n  ...\n```\n\n```\ncd serverDirName\n\nsh run.sh start        # 运行程序\nsh run.sh stop         # 停止程序\nsh run.sh restart      # 重启程序\nsh run.sh status       # 查看程序状态\nsh run.sh version      # 查看程序版本\n```\n\n其他的具体部署请参考 Beego 官方文档。\n\n## 前端配套项目\n\n- [sbs-admin-web](https://github.com/deepraining/sbs-admin-web)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fbeego-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepraining%2Fbeego-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fbeego-starter/lists"}