jslearner
Any recommended books to learn and master Nerves?
Any recommended book or books to learn and master Nerves?
Marked As Solved
fhunleth
Co-author of Nerves
Welcome @jslearner! Sadly no books yet. We are very lucky to have a supportive community here and on the Elixir Slack so if you have any projects in mind, please ask around.
As for resources, here’s what’s available:
- You’ve probably found the docs at https://nerves-project.org/. There are also simple example projects at GitHub - nerves-project/nerves_examples: Small example programs using Nerves · GitHub.
- Nerves can start pretty minimal which can be hard to get used to. Many people use the
nerves_init_gadgetlibrary to bring up the basics like networking. That’s a default with the new project generator. - As a side note on
nerves_init_gadget, we are in the process of a major change to our networking support. It’s slowly making its way through the docs, so you may start to see references tonerves_packandvintage_net. If you have any ideas of running multiple network connections simultaneously or making your device an access point, please see https://embedded-elixir.com/post/2019-11-22-embedded-networking/. - For low level hardware, see GitHub - elixir-circuits/circuits_quickstart: Try out Elixir Circuits on Nerves! · GitHub. Elixir Circuits runs on Raspbian and Debian in addition to Nerves. If you’re new to Elixir and hardware, but comfortable with a Raspbian and Raspberry Pis, a lot of people have had success using Elixir Circuits there and then when they’re comfortable, they start packaging their apps using Nerves.
- There are a few options for deploying lots of Nerves devices. If you’re interested in that, see https://www.nerves-hub.org/.
- We try to collect talks on Nerves at https://nerves-project.org/watch/. There are a few really good “getting started” ones and a few that talk about specific technologies.
A final comment is on picking hardware. Nerves runs on a lot of devices, but the support that you’ll find online is mostly for Raspberry Pis and BeagleBone (BeagleBone Black, Green, PocketBeagle, etc.) boards. At the moment, the Raspberry Pi 4’s display doesn’t work with Nerves, so I’d go with another RPi for now (that will hopefully be fixed in the coming months).
Hope this helps!
14
Popular in Questions
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
Lets say I have map like this fetching from my database
%{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
I would like to know what is the best IDE for elixir development?
New
I have VueJS GUIs with the project generated using Webpack.
I have Elixir modules that will need to be used by the VueJS GUIs.
I forese...
New
Hey all,
I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Other popular topics
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set?
Thanks.
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch.
This project took far...
New
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something…
Haskell reminds me of Java, and e...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help.
Where are they similar?
Where do they differ the m...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









