prop/lib/mix/tasks/notebook.ex
Graham McIntire cf9c0a5e04 Add bin/notebook script to start Phoenix + Livebook together
Starts Phoenix with a named node and Livebook attached to it on
port 8081. Single command, Ctrl-C stops both.
2026-04-07 11:19:42 -05:00

15 lines
393 B
Elixir

defmodule Mix.Tasks.Notebook do
@shortdoc "Print instructions for starting the analysis notebook"
@moduledoc false
use Mix.Task
@impl Mix.Task
def run(_args) do
IO.puts("""
Run bin/notebook to start Phoenix + Livebook together.
Livebook will be at http://localhost:8081 with full access to
Repo, Scorer, BandConfig, Weather, and all app modules.
""")
end
end