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 Elixir apps to production. Once in production, the Nanobox production management tool suite can be used to manage and monitor live apps, including ve…
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
priv
test
README.md
boxfile.yml
mix.exs
mix.lock
notes.txt

README.md

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/