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

nerves
phoenix

#1

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

Getting Nerves and Phoenix working together is pretty easy.

Check out the example