App Boilerplate for Electron

This is a fork of the work of Thorsten Hans (original README below), corrected, completed, updated and adapted to my needs.


original README (at time of fork):

Sample App for Electron

For more details see the post on my blog http://www.dotnet-rocks.com/2015/05/04/writing-an-electron-atom-shell-app-using-angular-and-es6/

PreConditions for client

Ensure that the following node packages are installed on your system

  • jspm

you can install it using npm i jspm -g

Install dependencies

After cloning the repo execute npm i in both subdirectories app and server to install all dependencies. For the client, jspm install will be invoked automatically as npm postinstall script!

Creating the Electorn App package

Execute gulp in order to build the electron app.

The final electron app will be located as a zip file within the dist subfolder. Extract the ZIP file and start the electron app.

Demonstrating CrashReporter

For demonstrating the crash-reporter you've to start the little express server from the server subfolder by invoking node server.js before crashing the app using the button...



App Boilerplate for Electron

这是Thorsten Hans的工作的一个分支(原来的README下面),更正,完成,更新和适应我的需要。


原始README(在叉时):

Sample App for Electron

有关详细信息,请参阅我博客上的帖子 http://www.dotnet-rocks.com/2015/05/04/writing-an-electron-atom-shell-app-using-angular-and-es6/ < / p>

客户端的前提条件

确保系统上安装了以下节点包

  • jspm

可以使用 npm i jspm -g

进行安装

安装依赖关系

克隆后,在两个子目录 app server 中执行 npm i 以安装所有依赖关系。对于客户端, jspm install 将被自动调用为 npm postinstall 脚本!

创建Electorn应用程序包

执行 gulp 以构建电子应用程序。

最终的电子应用程序将作为zip文件位于 dist 子文件夹中。提取ZIP文件并启动电子应用程序。

演示CrashReporter

为了演示 crash-reporter ,您必须通过调用节点服务器从服务器子文件夹启动 express 服务器.js 之前使用按钮崩溃应用程序…




相关问题推荐