WIP... Simple interface to run BalenaOS and attach to a application on BalenaCloud. Allowing you to create virtual devices in your application. Super helpful for end-to-end testing. Still need to add the UI and other endpoints.
- Download your config.json from BalenaCloud and add to the root of this project
- set balena/aufs2overlay.sh to executable
chmod +x aufs2overlay.sh
docker-compose -f dev.yml build --no-cache
(rebuild also when you install new packages)docker-compose -f dev.yml up
- Endpoint available at localhost:5000
We can access the docker socket by using a volume mount on the api container. To learn more about this reference: https://medium.com/better-programming/about-var-run-docker-sock-3bfd276e12fd
- Create base frontend (list devices, and app configs)
- Add a app config ui
- Add a device
- Change status of the device (start, stop, delete)
- Loaders for api calls when adding
- Save app config to disk
- Copy and edit app config for creating a device
- Separate routes to multi files with Blueprints
- Start and stop devices
Basic api in python