v.0.10.0 redesign prj structure, multi dev containers
This commit is contained in:
25
pico-client/deploy.fish
Executable file
25
pico-client/deploy.fish
Executable 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 ==="
|
||||
Reference in New Issue
Block a user