I’m about to create a local development setup.
For this I have a docker compose with my containers.
Now I want to put some of my Github repos and their source files on the balenaOS, so that when starting my containers, they will mount the shared folder with my repos. Inside my docker container, I can compile the source code, and test the software of intreset.
I want to be able to edit the source code on my local development machine which runs the balenaOS, but since balenaOS is reado-nly, I can’t install git neither clone my git repos.
How can I accomplish this? Or is there any other way this should be done?
That’s correct. I want to edit the source code on the Balena device.
Ok, as I understand, I’ll have to edit the source code on my own PC then use balena cli to push locally to the device. Then on the device itself I can test.
Yes @eco that’s correct! If you are still testing your source code, I strongly recommend to develop on Local mode and run balena push to the local mode device. It’s faster!