dwyl / learn-nerves

Learn how to use the Nerves embedded framework to build incredibly efficient & fault-tollerant network devices (IoT)
https://youtu.be/zBzKoV2iFdQ
GNU General Public License v2.0
6 stars 1 forks source link

How to deploy Nerves Firmware via Ethernet/Wifi/USB #3

Open nelsonic opened 4 years ago

nelsonic commented 4 years ago

Using the mix firmware.burn command to write the firmware to the SD Card is fine the first couple of times, but if you need to make several changes/updates per day and have to keep removing the Micro SD card it gets old.

Todo

th0mas commented 4 years ago

For simple "one-device" setups, running mix firmware.gen.script then ./upload is probably the easiest solution.

For a fleet of devices, Nerves Hub (https://docs.nerves-hub.org) is an open source firmware update server that would fit our use-case really well. Only this is the project is really young as doesn't have anywhere near complete documentation yet.

nelsonic commented 4 years ago

I'm busy going through https://elixirschool.com/en/lessons/advanced/nerves as you say, the mix firmware.gen.script is recommended. thanks! 👍