Functional Web Development with Phoenix LiveView
import IEx.Helpers
Project Configuration
Install the phx_new
script.
mix archive.install hex phx_new 1.8.0-rc.0
Setup the app in a directory of your choosing.
mix phx.new yap --binary-id --database sqlite3 --adapter bandit --no-install
Change into the new directory.
cd yap
Run the Project
Install dependencies.
mix deps.get
Compile dependencies only if not already.
mix loadpaths
Install and setup app requirements.
mix setup
Start the Phoenix server.
iex -S mix phx.server
Open the web browser at http://localhost:4000
.