{"id":15209074,"url":"https://github.com/xugy0926/community","last_synced_at":"2025-10-29T13:30:17.978Z","repository":{"id":82041078,"uuid":"111193092","full_name":"xugy0926/community","owner":"xugy0926","description":"a community based on Node.js","archived":false,"fork":false,"pushed_at":"2018-10-21T11:22:53.000Z","size":1972,"stargazers_count":43,"open_issues_count":2,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T01:31:58.361Z","etag":null,"topics":["ejs","graphql","javascript","mongodb","nodejs","pm2","vue","yarn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/xugy0926.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":"2017-11-18T09:33:35.000Z","updated_at":"2021-12-07T09:05:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ac7421a-cd9d-454a-8f96-bae0a18ae4bd","html_url":"https://github.com/xugy0926/community","commit_stats":{"total_commits":103,"total_committers":7,"mean_commits":"14.714285714285714","dds":"0.15533980582524276","last_synced_commit":"d016cb05101013864f506b6717c20a69fa0d3d34"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xugy0926%2Fcommunity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xugy0926%2Fcommunity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xugy0926%2Fcommunity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xugy0926%2Fcommunity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xugy0926","download_url":"https://codeload.github.com/xugy0926/community/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238825780,"owners_count":19537126,"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":["ejs","graphql","javascript","mongodb","nodejs","pm2","vue","yarn"],"created_at":"2024-09-28T07:21:10.181Z","updated_at":"2025-10-29T13:30:16.986Z","avatar_url":"https://github.com/xugy0926.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://ws4.sinaimg.cn/large/006tNbRwgy1fuzrn9i6vvj3076076jru.jpg)\n\n## Getting Started\n\n#### Requirements\n\n- Yarn package\n- Node.js v8.9.1 or newer\n- pm2 package\n\n#### Data storage\n\n- mongodb\n\n#### Quick Start\n\n1. Get the latest version\n\n```\n$ git clone https://github.com/xugy0926/community.git\n$ cd community\n```\n\n2. Run yarn install\n\n```\n$ yarn\n```\n\n3. Modify src/config/index.dev.js\n\nThe three most important configurations\n\n- mongodb\n- github，获取 github 登录用的信息请参考 https://github.com/settings/developers\n\n4. Run dev\n\n```\n$ yarn run dev\n```\n\n## Deploy\n\n#### How to deploy\n\n1. Get the latest version\n\n```\n$ git clone https://github.com/xugy0926/community.git\n$ cd community\n$ yarn\n```\n\n2. Create src/config/index.pro.js\n\n```\n$ yarn run config\n```\n\n3. Modify src/config/index.pro.js\n\n4. Run production\n\n```\n$ yarn run build\n$ NODE_ENV=production PORT=80 pm2 start dist/server.js --name \"community\"\n```\n\nor\n\n```\n$make depoly\n```\n\n#### How to update\n\n```\n$ git pull\n$ yarn\n$ yarn run build\n$ pm2 stop community\n$ pm2 start community\n```\n\nor\n\n```\n$ make update\n```\n\n#### pm2 deploy\n\n```\npm2 deploy ecosystem.json production --force\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxugy0926%2Fcommunity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxugy0926%2Fcommunity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxugy0926%2Fcommunity/lists"}