v.0.10.0 redesign prj structure, multi dev containers

This commit is contained in:
tiijay
2025-11-20 11:50:19 +00:00
parent 53b1b96fb3
commit 76a8203458
52 changed files with 63 additions and 83 deletions

25
pico-client/deploy.fish Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/fish
echo "=== MicroPython Deployment Script ==="
echo "1. Create pico-client directories on device..."
mpremote connect port:rfc2217://localhost:4000 mkdir restapi
mpremote connect port:rfc2217://localhost:4000 mkdir classes
mpremote connect port:rfc2217://localhost:4000 mkdir display
mpremote connect port:rfc2217://localhost:4000 mkdir tryout
mpremote connect port:rfc2217://localhost:4000 mkdir utils
mpremote connect port:rfc2217://localhost:4000 mkdir web
echo "1. Copying pico-client directories to device..."
mpremote connect port:rfc2217://localhost:4000 cp -r restapi/mock :
mpremote connect port:rfc2217://localhost:4000 cp -r classes :
mpremote connect port:rfc2217://localhost:4000 cp -r display :
mpremote connect port:rfc2217://localhost:4000 cp -r tryout :
mpremote connect port:rfc2217://localhost:4000 cp -r utils :
mpremote connect port:rfc2217://localhost:4000 cp -r web :
echo "2. Starting main.py..."
mpremote connect port:rfc2217://localhost:4000 run main.py
echo "=== Deployment Complete ==="