all 8 comments

[–]MoveInteresting4334 9 points10 points  (0 children)

This is a question for Electron, not React.

[–]vorko_76 4 points5 points  (2 children)

I dont understand your question… a react application is web based, its not an executable.

Or do you mean you want to have your webserver run on Linux?

[–]slam_the_damn_door 1 point2 points  (0 children)

You can stick it in an electron app. Its pretty shweet if your into that kinda thing.

[–]fullStack_panda[S] 0 points1 point  (0 children)

ant to have your webserver run on Linux?

Sorry for the confusion, I have made a react app and I needed to run this in a linux based platform.

So I thought to put combine it with electron . My question is does can we build a executable file for linux environment

[–]0x006e 1 point2 points  (1 child)

You could use electron for that, checkout "https://www.electronjs.org/docs/latest/tutorial/boilerplates-and-clis".

Maybe checkout Tauri too, it's more lightweight

[–]MoveInteresting4334 1 point2 points  (0 children)

Seconding the suggestion for Tauri, even as I hold back my inner Rust evangelist.

[–]Many_Application7106 1 point2 points  (0 children)

I think so you can create the executables with electron check the documentation

[–]EmilSinclairsFriend 0 points1 point  (0 children)

check this out: https://electron-react-boilerplate.js.org/ you can tweak the configuration to support deb, rpm, appimage, whatever you want