cd trees/vm
git submodule add https://github.com/micropython/micropython.git
- Earth (FastAPI)
a) dockerhub: ttmetro/leaf-backend
b) built by github action earth-backend.yml
c) deploy to balena:
make balena-push
- UI (LitElement)
- create latest release and push to balena (static content):
make ui
- Note:
mv ui/dist/assets/svg ui/dist/assets/icons
- create latest release and push to balena (static content):
- Trees (MicroPython)
- push tag
v*
builds VM and publishes as release - flash or ota update
- push tag
- Productioon:
In github repo, choose
- Settings
- Secrets and variables
- Actions
- New repository secret
Micropython app for collecting sensor data.
Web frontend based on lit-element.
Cloud backend for managing apps and credentials.
Created from the following template:
pip install create-fastapi-project
create-fastapi-project