{"id":16440010,"url":"https://github.com/waynecz/choice","last_synced_at":"2025-09-14T15:42:18.171Z","repository":{"id":92541215,"uuid":"75692772","full_name":"waynecz/choice","owner":"waynecz","description":"开发官网的神奇脚手架","archived":false,"fork":false,"pushed_at":"2017-06-16T04:23:48.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T07:03:23.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/waynecz.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":"2016-12-06T03:56:26.000Z","updated_at":"2019-05-10T05:45:16.000Z","dependencies_parsed_at":"2023-05-22T09:45:13.881Z","dependency_job_id":null,"html_url":"https://github.com/waynecz/choice","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/waynecz%2Fchoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Fchoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Fchoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Fchoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waynecz","download_url":"https://codeload.github.com/waynecz/choice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250922185,"owners_count":21508287,"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-11T09:10:57.076Z","updated_at":"2025-04-26T02:33:42.739Z","avatar_url":"https://github.com/waynecz.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Choice\n\n\u003e 你只需要码代码就行了\n\n1. 安装依赖`npm install`\n2. 开始开发`npm start` =\u003e 请全局gulp@4版本 `npm install gulpjs/gulp#4.0 -g`\n3. 上线前打包`gulp p`\n4. 部署上线, 建议使用[pm2](https://github.com/Unitech/pm2)管理进程, 附[pm2教程](https://segmentfault.com/a/1190000002539204)\n\n    ```\n    npm install -g pm2 // 全局安装pm2, 用来管理node进程\n\n    pm2 start pm2.json // 非pm2 node ./bin/www\n\n    ```\n+ Choice 可以:\n  + sass编译、autoprefixer\n  + 监听服务端文件改动自动刷新页面, 监听静态资源自动刷新资源\n  + 自动更改时间戳\n\n## 目录及注意\n\n- 模板引擎用的 [atrTemplate](https://github.com/aui/art-template)\n- 页面头部底部等公共区域在 `/views/control/*.html` 里面，`/views/control/meta.html` 是页面信息等\n- 首页 关于我们等具体页面 `/views/screen/*.html` 里面\n- scss 样式在 `/src/sass` 里，`style-output.scss` 是入口文件\n- 祝开发愉快 😬\n\n###适合用来：\n静态官网等，其实就是不适合用来开发比较大的web应用\n\n基本没注释","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynecz%2Fchoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaynecz%2Fchoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynecz%2Fchoice/lists"}