-
mix phx.new --umbrella --live --no-ecto flow_test
-
cd flow_test_umbrella
-
iex -S mix phx.server
-
navigate around a bit (like in LiveDashboard)
-
stop server
-
add
{:flow, "~> 1.0"}
to apps/flow_test/mix.exs -
add simple code using Flow (
FlowTest.flow_yo/1
) to apps/flow_test/lib/flow_test.ex -
use
FlowTest.flow_yo/1
inFlowTestWeb.PageLive.mount/3
-
iex -S mix phx.server
(even though this failed, I wanted to keep it in my history in case it matters) -
mix deps.get
-
iex -S mix phx.server
-
navigate to http://localhost:4000/
-
💥
My machine:
> elixir --version
Erlang/OTP 22 [erts-10.7.1] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.10.2 (compiled with Erlang/OTP 21)