To get running:
- git clone repo
- Copy host.sh.example and rpi3.sh.example to host.sh and rpi3.sh
- Depending on if deploying to hardware or running local, run
source host.shorsource rpi3.sh - Run
mix deps.get - cd into 'assets' folder and run (from phoenix):
npm install && node node_modules/webpack/bin/webpack.js --mode development - cd back to root and run
iex -S mix phx.serverto run locally - To deploy run
mix firmware(andmix firmware.burnif writing to sd card) - Run
./upload.shto send to running hardware.
- Official docs: https://hexdocs.pm/nerves/getting-started.html
- Official website: https://nerves-project.org/
- Forum: https://elixirforum.com/c/nerves-forum
- Discussion Slack elixir-lang #nerves (Invite)
- Source: https://github.com/nerves-project/nerves
- ssh nerves.local