Snownix - #1 Phoenix blog
To start 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
Now you can visit localhost:4000
from your browser.
Copy the env example and modify values
cp .env.example .env
Run command to apply the env vars
source .env
Run the Phoenix server
mix phx.server