{"id":18438203,"url":"https://github.com/easemob/videocall-web","last_synced_at":"2025-04-07T20:35:07.360Z","repository":{"id":41676652,"uuid":"253745742","full_name":"easemob/videocall-web","owner":"easemob","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-10T05:57:26.000Z","size":8066,"stargazers_count":4,"open_issues_count":23,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-23T00:31:49.616Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/easemob.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}},"created_at":"2020-04-07T09:22:21.000Z","updated_at":"2023-08-10T05:57:32.000Z","dependencies_parsed_at":"2023-02-05T04:01:11.601Z","dependency_job_id":null,"html_url":"https://github.com/easemob/videocall-web","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Fvideocall-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Fvideocall-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Fvideocall-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Fvideocall-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easemob","download_url":"https://codeload.github.com/easemob/videocall-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247726268,"owners_count":20985857,"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-06T06:19:02.224Z","updated_at":"2025-04-07T20:35:02.351Z","avatar_url":"https://github.com/easemob.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"`web video call 集成文档`\nhttp://docs-im.easemob.com/rtc/conference/web\n\n`启动步骤`\n\n1. git clone http://xxxxxx\n\n2. npm install\n\n3. npm start \n\n4. npm run build:test 测试环境\n\n5. npm run build:prod 生产环境\n\n6. HTTPS=true npm start 使用 HTTPS 环境（共享桌面必须） \n\n`使用技术栈`\n\n1. create-react-app + antd + axios\n\n2. 拓展 webpack_config  --\u003e customize-cra react-app-rewired \n\n3. add config-overrides.js ---\u003e antd按需加载、使用less、配置antd 主题\n\n4. 打包设置环境变量  dotenv-cli 包 + .env.test(测试环境变量)/.env.production(生产环境变量)\n\n\n`环境相关`\n1. npm start    会使用 .env.development 文件 可自由配置 相应环境（开发、测试、生产）\n\n2. npm run build:test 会使用 .env.test 文件内的环境变量 生成测试环境的包\n\n3. npm run build:prod 会使用 .env.production 文件内的环境变量 生成生产环境的包\n\n`支持electorn load(web url)`\n1. 已经实现 兼容electorn 的共享桌面\n2. electorn 使用教程 http://www.electronjs.org/\n\n\n\n`项目部署`\n1. 将项目通过 travis ci 部署到服务器 教程[http://www.ruanyifeng.com/blog/2017/12/travis_ci_tutorial.html]\n    有两种不同的情况\n    1. 项目依赖 npm库的SDK -- 直接打 tag,提交到 github\n    2. 项目依赖 本地随时修改的 SDK --- 执行npm run build,生成build 文件, 再打 tag,提交到 github\n    3. travis.sh 会区分有没有 build 文件夹\n\n\n`常见问题`\n1. npm start ---\u003e  TypeError [ERR_INVALID_ARG_TYPE]: The \"path\" argument must be of type string. Received type undefined\n\n    检查 react-script 是否 \u003e= 3.4.0\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasemob%2Fvideocall-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasemob%2Fvideocall-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasemob%2Fvideocall-web/lists"}