nanobox-phoenix icon indicating copy to clipboard operation
nanobox-phoenix copied to clipboard

This repository is a Elixir/Phoenix developer quickstart to quickly get an app set up on the Nanobox development platform. Nanobox creates isolated local dev environments that can be used to deploy El...

Phoenix from scratch

Phoenix from scratch

Run a Phoenix app locally, install nothing besides nanobox.

Clone the repo

# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-phoenix.git

# cd into the phoenix app
cd nanobox-phoenix

Run the app

# Add a convenient way to access your app from the browser
nanobox dns add local phoenix.dev

# Run phoenix
nanobox run mix phx.server

Check it out

Visit your app at phoenix.dev

Explore

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

Now What?

For more details about running phoenix apps with nanobox visit guides.nanobox.io/elixir/phoenix/