App deployment script

Posted on
  • When developing apps I find it very annoying to run a local webserver and deploying the apps via the chrome browser.
    Has someone worked on providing the uploadApp() functionality from js/index.js as npm run script?

  • There's an Espruino CLI tool that you can use to do uploads of individual files: https://www.npmjs.com/package/espruino

    When developing I'd suggest you use the IDE though - that can upload directly to a storage file on the device so you can make changes/upload and develop really quickly with that.

    Or you actually wanted to do a kind of apploader install foobar command?

  • The espruino cli package is quite interesting, thank you!

    I was thinking about something like the gradle installDebug from the Android world. You could work in the editor of your choice and execute a npm run install $myFancyApp on the cli. I think this would speed up things.

  • Ok, just added bin/apploader.js. Should be ok for you to do some rough development work with anyway

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

App deployment script

Posted by Avatar for user111002 @user111002

Actions