Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 1.38 KB

README.md

File metadata and controls

85 lines (55 loc) · 1.38 KB

Chirpity-Electron

Electron app to identify the calls of nocturnal migrants from audio files.

Author: Matthew Kirkland

Application setup

First, clone the project and install all dependencies:

git clone https://github.com/Mattk70/Chirpity-Electron
cd Chirpity-Electron
npm install

Next, launch the app with:

npm start

Development setup

Setting up the project requires Node.js, which we need to install first.

After that, we can initialize the source directory with:

npm init

Follow the prompt to setup package.json.

Now, we need to install electron with:

npm install --save-dev electron

Chirpity requires Tensorflow.js which we install with:

npm install @tensorflow/tfjs

Install Bootstrap and its dependencies:

npm install bootstrap
npm install jquery
npm install popper

This app also needs an additional package that we have to install.

npm install colormap

In order to package the app for stand-alone applications, we need electron-packager:

npm install electron-packager --save-dev

We can now add the export script in the package.json:

"scripts": {
    "start": "electron .",
    "export": "electron-packager . --out packages --overwrite"
  }

After that, we can export the app with:

npm run export

The resulting application will be saved in the "packages" folder.