https://github.com/n-riesco/oracledb-electron-builder
Example of an electron app using oracledb and electron-builder
https://github.com/n-riesco/oracledb-electron-builder
electron electron-builder oracledb
Last synced: 10 months ago
JSON representation
Example of an electron app using oracledb and electron-builder
- Host: GitHub
- URL: https://github.com/n-riesco/oracledb-electron-builder
- Owner: n-riesco
- Created: 2018-05-25T16:24:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T20:47:27.000Z (about 7 years ago)
- Last Synced: 2025-04-03T09:12:12.949Z (about 1 year ago)
- Topics: electron, electron-builder, oracledb
- Language: JavaScript
- Size: 37.1 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# oracledb-electron-builder
`oracledb-electron-builder` is an example of an electron app that uses
[electron-builder](https://www.npmjs.com/package/electron-builder) to build the
native module [oracledb](https://www.npmjs.com/package/oracledb).
# Requirements
- See the requirements for
[node-gyp](https://github.com/nodejs/node-gyp#installation)
- 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`.