Hosting a phoenix app on a nerves device that acts as a 'router'

I would like to know if it’s possible to create a phoenix app on Nerves and use it both as the ‘server’ and router. My use case is remote areas with no internet connectivity. Trying to see if I can deploy instances of my application running off the embedded devices with periodic sync to cloud.

From the docs it seems as if Nerves ‘plugs’ into an existing network for discovery by other devices. Is this the only option?

2 Likes

Getting Nerves and Phoenix working together is pretty easy.

Check out the example

2 Likes