I'm not able to start my project from a mix release
. But it works fine if I run mix phx.server
I'm able to recreate this problem from an empty project by doing:
mix phx.new asdf --umbrella --no-ecto --no-html --no-webpack
then edit mix.exs
and add a release section:
def project do
[
apps_path: "apps",
start_permanent: Mix.env() == :prod,
deps: deps(),
version: "0.1.0",
releases: [
mega_umbrella: [
applications: [
mega: :permanent,
mega_web: :permanent
]
]
]
]
end
then remove the last line from config/prod.exs
# import_config "prod.secret.exs
run mix release
run _build/dev/rel/asdf_umbrella/bin/asdf_umbrella start
And the application just hangs there.
What am I doing wrong and why is it just hanging there?
My version info:
elixir --version
Erlang/OTP 22 [erts-10.5.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]
Elixir 1.9.2 (compiled with Erlang/OTP 22)