Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.02 KB

README.md

File metadata and controls

43 lines (30 loc) · 2.02 KB

electron-boilerplate

An electron boilerplate project using PouchDB as storage engine and Material Design for the UI.

It comes in two flavors:

  • AngularJS using the Angular-Material library (usable)

  • ReactJS using the Material-UI library (ongoing)

Getting started

  • install node.js (at least Node 4.4.x+ and NPM 2.14.x+ required) from here
  • install Git from here
  • install Python 2.7 from here and add the installation directory to your system path variable
  • For Windows, install Windows SDK for Windows Server 2008 and .NET Framework 3.5 from here
  • For Windows, install Visual Studio 2013/2015 (Express for Desktop is sufficient).
  • clone git repository, choose the branch of interest (angularjs/reactjs) (git clone -b <branch> https://github.com/appelgriebsch/electron-boilerplate.git)
  • open terminal and run npm install to install dependencies
  • start application in debug by executing npm start in terminal

Build Distributable Packages

PLEASE NOTE: you will need a virtual machine with the actual operating system and development tools installed to build the native packages for it

  • on OS X (10.9+): creates application bundle and distributable disk image (x64 only, Mac AppStore compatible variant incl.)

    npm run build:osx             // will execute sub-tasks npm run build:osx-app (standalone) and npm run build:osx-mas (Mac AppStore version)
  • on Windows (7+): creates application .exe and distributable setup.exe (x86 and x64)

    npm run build:win32         // will execute sub-tasks npm run build:win32-ia32 and npm run build:win32-x64
  • on Linux (Ubuntu/Fedora): creates application and distributable packages for deb-style and rpm-style distributions (x86 and x64)

    npm run build:linux       // will execute sub-tasks npm run build:linux-ia32 and npm run build:linux-x64