I'm interested in the communities workflows for development, especially on the Bangle.
Mine is as follows on Arch Linux:
Starting a local environment with the start script.
Checkout a branch
Open tabs for localhost:4000 and localhost:4001 in chromium.
Install app from local apploader on Bangle
Files to be modified are loaded into the web IDE and edited there or in VSCodium depending on anticipated amount of changes
Upload and debugging in web IDE
Gotchas:
I link BangleApps/modules and EspruinoDocs/modules to EspruinoWebIDE/[b|e]mod dirs and set http://localhost:4001/bmod|http://localhost:4001/emod as module dirs in the web IDE. Otherwise CORS prevents me from loading modules.
I have played around with using the CLI tools for upload with the options for watching files which works fine but I always come back to the browser based method since it it a bit more finicky on the command line.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm interested in the communities workflows for development, especially on the Bangle.
Mine is as follows on Arch Linux:
localhost:4000
andlocalhost:4001
in chromium.Gotchas:
BangleApps/modules
andEspruinoDocs/modules
toEspruinoWebIDE/[b|e]mod
dirs and sethttp://localhost:4001/bmod|http://localhost:4001/emod
as module dirs in the web IDE. Otherwise CORS prevents me from loading modules.I have played around with using the CLI tools for upload with the options for watching files which works fine but I always come back to the browser based method since it it a bit more finicky on the command line.
What are your top tips on developing offline?
Script for starting the environment: