csepulv / electron-with-create-react-app

Sample Electron application using create-react-app
MIT License
831 stars 217 forks source link

How do we run this in production? #33

Closed maayanalbert closed 4 years ago

maayanalbert commented 4 years ago

Thanks for the article! How should we deploy this/ run it in production?

csepulv commented 4 years ago

I suggest looking at https://github.com/electron-userland/electron-builder or https://github.com/electron/electron-packager. I've used both and they are pretty popular for packaging an application for distribution/installation.

https://github.com/vicentedealencar/electron-with-create-react-app/commit/f1729381d588e65ac140ce5a08cc6277babd9641 shows an example with electron-builder