You are reading a single comment by @halemmerich and its replies. Click here to read the full conversation.
  • 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.

    What are your top tips on developing offline?

    Script for starting the environment:

    export PATH="$(gem env | grep USER | tr -s ' ' | rev | cut -d ' ' -f 1 | rev)/bin:$PATH"
    
    gem install jekyll jekyll-theme-slate
    cd BangleApps
    jekyll serve --port 4000 &
    cd ..
    cd EspruinoWebIDE
    jekyll serve --port 4001 &
    
About

Avatar for halemmerich @halemmerich started