Local development environment


#1

Hello all,

I’ve been having a great time developing for Legato and more specifically the MangOH Red. The biggest pain point by far has been the time required to build and deploy code to real hardware for testing.

This leads me to believe there must be a better way to build/run/test apps locally. Does any such tool/platform exist? If not this is definitely something I would consider building and open sourcing.

Cheers,
Nick


#2

Nick,

Can you elaborate what are the exact pain points?

cheers,
Ashish


#3

Hey Ashish,

Overall I’m very impressed with the entire platform (MangOH Red, Legato, and AirVantage). These are the things I’ve noticed so far:

  1. It can take around 2-5 minutes to get a new update fully running on hardware to test it. This really is not that long in the grand scheme of things, but when I’m developing and trying to validate that a given piece of code is working on the fly this can eat a lot of time. Some type of MangOH/Legato test platform that would allow me to run my MangOH code locally (maybe even a MangOH emulator) would help mitigate this issue.

  2. I want our software to be covered by automated unit/integration tests. Without some Legato test platform this will be hard to achieve.

  3. (This is a little off topic) AirVantage delivers a strangely formatted and hard to parse payload to the Google Cloud PubSub connector. I’ve managed to code around this on our backend but it’s definitely not ideal.

I have not done too much research in terms of a test platform so I may have missed something obvious, but I figured this was a good place to start to see how others are addressing this.

Cheers,
Nick


#4

Hi Nick,

Thanks for the feedback. We will look into it in detail and get back to you. BTW, you can do atomic updates for single apps when you are doing local builds.

cheers,
Ashish