got my app running...
-
...actually looks pretty good (just a few things to clean up).
We'd like to use this for our field service folks to remotely access the app. I'm not clear on a couple things:
- would we have an in-house dedicated server with emscripten and all that, running a web server?
- what is the deliverable to the client(s)?
- according to the docs, "Emscripten provides the emrun utility for test-running applications. Emrun starts a web server, launches a browser, and will also capture and forward stdout/stderr (which will normally go to the JavaScript console)." So to where does stdout/stderr get forwarded? I'm trying to figure out how to get feedback from the app that I normally see through the use of qDebug() and console.log() statements in the code.
Thanks for any clarification.
-
-
You just need a web server that serves HTML, no need for emscripten.
-
the app.html, app.js, app.wasm, qtLoader.js. With this the client can run the application in any webserver.
-
I normally use the developer console of the browser.
All the messages from qDebug and console.log are shown there.
-
-
@mzimmers
Normally, those files are distributed over the internet through a web server.
Like:
https://eddytheco.github.io/NftMinter/
Github uses a server to distribute those files to clients(browsers).But if your client downloads those files and serves them under his own server, it is the same.
They can invoke the application locally in the same way you do when testing and developing. By running emrun, or with a python webserver, in general, using a web server. Some applications must use https(secure environment).