diff --git a/deploy.fish b/deploy.fish index e31f233..41629c2 100755 --- a/deploy.fish +++ b/deploy.fish @@ -10,7 +10,8 @@ end echo "1. Copying app directory to device..." mpremote connect port:rfc2217://localhost:4000 cp -r app : -mpremote connect port:rfc2217://localhost:4000 cp -r restapi : +mpremote connect port:rfc2217://localhost:4000 mkdir restapi +mpremote connect port:rfc2217://localhost:4000 cp restapi/*.json :restapi/ echo "2. Starting main.py..." mpremote connect port:rfc2217://localhost:4000 run main.py