Powering up my new blog or laboratory, you can see it live here, I will cover how this is deployed to production in my usual blog since there are many interesting things being used here (k3s on ARM64, argocd, tekton, etc), so you will also learn how to easily build and run your project in kubernetes...
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
- Start the dev PG instance
docker-compose up -d
Now you can visit localhost:4000
from your browser.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix