Nerves project for deploying Bivouac onto a target machine.
Find a file
James Harton 244970d21c
Some checks failed
continuous-integration/drone/push Build is failing
chore: doctor fixes
2023-09-28 19:42:37 +13:00
config chore: disable ssh key checking in test. 2023-09-28 19:41:51 +13:00
lib chore: doctor fixes 2023-09-28 19:42:37 +13:00
rel chore: mix nerves.new. 2023-09-28 17:48:20 +13:00
rootfs_overlay/etc chore: mix nerves.new. 2023-09-28 17:48:20 +13:00
test chore: mix nerves.new. 2023-09-28 17:48:20 +13:00
.drone.yml chore: make sure that nerves_bootstrap is installed in CI. 2023-09-28 19:13:40 +13:00
.formatter.exs chore: mix nerves.new. 2023-09-28 17:48:20 +13:00
.gitignore chore: mix nerves.new. 2023-09-28 17:48:20 +13:00
.tool-versions chore: add .tool-versions file. 2023-09-28 19:08:25 +13:00
mix.exs chore: setup CI. 2023-09-28 19:04:00 +13:00
mix.lock chore: setup CI. 2023-09-28 19:04:00 +13:00
README.md chore: mix nerves.new. 2023-09-28 17:48:20 +13:00

Bivouac

TODO: Add description

Targets

Nerves applications produce images for hardware targets based on the MIX_TARGET environment variable. If MIX_TARGET is unset, mix builds an image that runs on the host (e.g., your laptop). This is useful for executing logic tests, running utilities, and debugging. Other targets are represented by a short name like rpi3 that maps to a Nerves system image for that platform. All of this logic is in the generated mix.exs and may be customized. For more information about targets see:

https://hexdocs.pm/nerves/targets.html#content

Getting Started

To start your Nerves app:

  • export MIX_TARGET=my_target or prefix every command with MIX_TARGET=my_target. For example, MIX_TARGET=rpi3
  • Install dependencies with mix deps.get
  • Create firmware with mix firmware
  • Burn to an SD card with mix burn

Learn more