n-riesco / oracledb-electron-builder

Example of an electron app using oracledb and electron-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oracledb-electron-builder

oracledb-electron-builder is an example of an electron app that uses electron-builder to build the native module oracledb.

Requirements

  • See the requirements for node-gyp

  • Use the source package from github. The package distributed via npm would install a prebuilt binary built against Node (in Windows, electron fails when this prebuilt binary is required/imported):

    npm install --save https://github.com/oracle/node-oracledb/releases/download/v2.2.0/oracledb-src-2.2.0.tgz
    

Install

npm install

Note that npm install invokes electron-builder install-app-deps at the postinstall step (as defined in package.json).

Run

npm start

Build an Installer

npm run pack

The installer is installer in folder release.

About

Example of an electron app using oracledb and electron-builder


Languages

Language:JavaScript 100.0%