Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Oct 16, 2023
2 parents 6475f10 + 7e1e11c commit 669c8e3
Showing 1 changed file with 5 additions and 44 deletions.
49 changes: 5 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<b>This repo is currently under development.</b>

# Chirpity-Electron

Electron app for sound file analysis with Chirpity.
Electron app to identify the calls of nocturnal migrants from audio files.

Author: Matthew Kirkland

Expand Down Expand Up @@ -33,55 +31,18 @@ After that, we can initialize the source directory with:
npm init
```

Follow the prompt to setup ```package.json```.

Now, we need to install <i>electron</I> 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 <i>package.json</i>:
Now, we need to install project dependencoies with:

```
"scripts": {
"start": "electron .",
"export": "electron-packager . --out packages --overwrite"
}
npm install --save-dev
```

After that, we can export the app with:
After that, we can build a windows msi installer with:

```
npm run export
```

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


0 comments on commit 669c8e3

Please sign in to comment.