https://github.com/alexandrelamarre/electron-react-flask-template
A template for Electron-React-Flask desktop apps.
https://github.com/alexandrelamarre/electron-react-flask-template
Last synced: 4 months ago
JSON representation
A template for Electron-React-Flask desktop apps.
- Host: GitHub
- URL: https://github.com/alexandrelamarre/electron-react-flask-template
- Owner: alexandreLamarre
- Created: 2021-06-29T22:32:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T14:42:38.000Z (about 1 year ago)
- Last Synced: 2025-01-11T01:08:15.667Z (5 months ago)
- Language: JavaScript
- Size: 626 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup (for dev)
- Install node.js/npm package manager
- Install python3
- Run `npm install` in app root directory to install the relevant pacakges `from package.json`
- `pip install flask pyinstaller` (run this as administrator, check it is installed using `which pyinstaller`, if `pyinstaller` is still not installed run `pip uninstall pyinstaller` and run `pip install pyinstaller` as administrator)
- To turn the flask backend into an executable, you must `cd backend`, ` pyinstaller -F app.py`# App use
- To make use of secret tokens, we use `atom/node-keytar`, which on unix requires the installation of `libsecret`, see full documentation of `atom/node-keytar` [here](https://github.com/atom/node-keytar)