Local IDE and testing on the Bangle

Posted on
  • Is there currently a way to use a local IDE (i.e. Atom) and then test on a Bangle? At the moment I've just been copying and pasting but I'm afraid of the growing code base. Any help would be much appreciated! 😁

  • Hi, yes - the easiest method right now is to use apploader.js from the BangleApps repo: https://github.com/espruino/BangleApps/b­lob/master/bin/apploader.js

    So clone it, create your app, and do node apploader.js install appname - although this may only work easily on MacOS & Linux due to how noble work on windows.

    There's also the Espruino CLI but that doesn't handle writing apps to storage very well: https://www.npmjs.com/package/espruino

  • Thank you! I will give it a go.

  • I was unaware of apploader.js! Doesn't look like it'll work on my windows laptop though, due to the aforementioned issues with noble.

    On Windows I've just been hosting the web interface locally. I run npm start, open localhost:8080, and then remove/reinstall the app I'm working on as needed.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Local IDE and testing on the Bangle

Posted by Avatar for eaydev @eaydev