Where is it and how is it used?

  • Hi.

    I have made a .vapkg file using the Builder. Now, where can I find the engine and how do I use it? I've read through the CookBook Engine category, but find no clues of how it is actually used.

    https://doc.visionappster.com/latest/engine/apps.html page mentions a command "va-run" (and "Engine service", what's that?), but when executed, it seems to do nothing, and produces no output that might guide in its usage. I tried using the .vapkg file as a parameter, nothing. Tried pointing it on the exported folder's main.qml, nothing...

    I need a manual 🙂

  • The answer is "it depends". 🙂

    va-run is the way to run stand-alone apps, which are usually UI apps. You can run stand-alone server apps with it as well (like you did by va-run main.qml), but they are not hugely useful without a web server that provides a remote interface.

    The web server is started by the Engine service that runs in the background. There is a web-based management interface through which you can install, start and stop apps.

    The .vapkg file contains a component that in your case is an executable app. You can upload .vapkg files to the service through the web interface or directly from the Builder. Once you install the uploaded packages, the front page automatically shows you all installed apps.

    Hope this helps. 🙂

Log in to reply