Given the upcoming support for Update Modules we are planning to change the onboarding in Mender (the UI tips you see when installing the Mender demo server or start using Hosted Mender).
Today demo images and demo Artifacts for Raspberry Pi 3 BeagleBone are provided as part of this onboarding.
With Update Modules we had the idea to rather do an application update during onboarding, as this is much faster, can support a broader range of boards and demonstrate something changing on the device itself. But before moving forward, we wanted to get some input on:
Did you use the demo images during onboarding? Was it useful?
Which kind of application demo would be good to see during onboarding? One idea was to start a webserver (e.g. using python) and show a demo webpage once you access the IP / URL of the device after deploying the demo application.
Showing the client side mender configuration files data in the webpage would probably be useful, as if following the tutorials, they probably want to customize this data as a next step.
I do believe that if we are gonna show something “graphical”, a static webpage is the most portable way of doing this, if we want to keep it simple to run on multiple device. Maybe without python and just lighthttpd which might be easier to bundle and would not require a running specific python runtime installed.
Possible but might not be as easy as we would like. It does have some dependencies which need to be statically linked. Probably needs some light research to estimate effort.
When you mentioned “small static” I came to think that something golang based would be better in that case which works like that by default and must be web servers implemented in golang somewhere.
Quick search gave my this one,
They also provide binaries for every platform you can image here, Download Caddy. Though there is restricted usage license on the binaries and we would need to check if it is compatible with our use-case.
Caddy binaries are free for personal use, and a commercial license is required for internal company use, commercialized distribution, or other business purpose.
But beside the license it seems like a perfect fit for this use-case.