Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 authored Oct 15, 2023
1 parent 6ffeac0 commit 322a76b
Showing 1 changed file with 3 additions and 38 deletions.
41 changes: 3 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,50 +36,15 @@ Follow the prompt to setup ```package.json```.
Now, we need to install <i>electron</I> with:

```
npm install --save-dev electron
npm install --save-dev
```

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>:

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

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 322a76b

Please sign in to comment.