/electron

Basic electron apps

Primary LanguageJavaScript

Basic electron apps

$ sudo apt-get install nodejs-legacy
$ apt-get install npm
$ npm init
$ npm install electron --save-dev --verbose
$ npm start

$ npm install mysql
$ npm install sqlite3

$ npm install electron-rebuild
$ ./node_modules/.bin/electron-rebuild -w sqlite3 -p

Clone the Quick Start repository
$ git clone https://github.com/electron/electron-quick-start

Go into the repository
$ cd electron-quick-start

Install the dependencies and run
$ npm install && npm start