Run a Phoenix app locally, install nothing besides nanobox.
# clone the code git clone https://github.com/nanobox-quickstarts/nanobox-phoenix.git # cd into the phoenix app cd nanobox-phoenix
# Add a convenient way to access your app from the browser nanobox dns add local phoenix.dev # Run phoenix nanobox run mix phx.server
Visit your app at phoenix.dev
With Nanobox, you have everything you need develop and run your phoenix app:
# drop into a Nanobox console nanobox run # where elixir is installed, elixir -v # your packages are available, mix list # and your code is mounted ls # exit the console exit
For more details about running phoenix apps with nanobox visit guides.nanobox.io/elixir/phoenix/