游密 Electron 版在线教育Demo, 基于electron-react-boilerplate
- 创建或加入课堂
- 设备检测
- 课堂
- Note: requires a node version >= 7 and an npm version >= 4.
- If you have installation or compilation issues with this project, please see electron-react-boilerplate
First, clone the repo;
And then install dependencies with npm.
git checkout youme-metting
npm installStart the app in the dev environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:
npm run devAlternatively, you can run the renderer and main processes separately. This way, you can restart one process without waiting for the other. Run these two commands simultaneously in different console tabs:
npm run start-renderer-dev
npm run start-main-devTo package apps for the local platform:
npm run packageTo package apps for all platforms:
First, refer to Multi Platform Build for dependencies.
Then,
npm run package-allTo package apps with options:
npm run package -- --[option]To run End-to-End Test
npm run build
npm run test-e2e💡 You can debug your production build with devtools by simply setting the DEBUG_PROD env variable:
- mac or linux
DEBUG_PROD=true npm run package- windows
SET DEBUG_PROD=true npm run packageMIT









