Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.24 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.24 KB

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/