Skip to content
Phoenix Hello World App
Elixir JavaScript HTML Dockerfile CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.elixir_ls/build/test/lib
assets
config
lib
priv/gettext
test
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
mix.exs
mix.lock

README.md

PhoenixHelloworld

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Docker

To build:

$ docker build . -t casmacc/phoenix_helloworld

To run:

$ docker run -p 4000:4000 casmacc/phoenix_helloworld

To run with nginx_proxy

$ docker run -p 4000:4000 -e VIRTUAL_HOST=phoenix.yourdomain casmacc/phoenix_helloworld

Learn more

You can’t perform that action at this time.