RUARUA.live开源项目
ruarua.live: 全球视频直播资源聚合,同时观看多个内容,点击进入
#如果您的Chrome版本高于60 网站可能无法观看视频 chrome iframe swf don't work
- 安装 Node.js & npm (nodejs 8.0+, npm 5.0 +)
npm install
npm run start
- 打开http://localhost:8080
- 欢迎Fork贡献代码
- 提交一个pull request, 等待review和merge
- 对全栈技术向感兴趣的可以加qq群471451989.
npm run webpack
- View: React
- State Management: Redux
- CSS: css-modules/postcss
cnpm
可能会导致项目install
某些包不成功,不推荐使用- 默认api地址为http://ruarua.live, 可以手动配置为本地服务器,也可以clone tv-core这个项目,然后在开发环境运行(port:3000)
- 可以配置webpack-dev-server(webpack.config.js)修改默认开发端口。
- websockt默认为3001端口
- React Redux 和es6的文章
- React: https://facebook.github.io/react/docs/thinking-in-react.html
- Redux入门: https://egghead.io/courses/getting-started-with-redux
- ES6指南: https://github.com/lukehoban/es6features
- Postcss: http://postcss.org/