mix phoenix.new --no-ecto hello_phoenix
If I remember correctly, letting ecto in makes it look for postgres on the pi. Could probably easily set it up for sqlite?
cd hello_phoenix
cp ../nerves_examples/hello_network/Bakefile .
Add to server: true
to config section in config/prod.exs and change http to a specific port (It didn't seem to work setting PORT env variable, but I only tried once.
)