You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With phoenix, mix release by itself does not make sense to use, and in fact will not produce a runnable executable.
I believe this is due to the presence of phoenix-live-reload in development
To produce a release which functions, server: true must be set in the config/prod.exs file
MIX_ENV=prod mix release --env=prod builds a working release after the above steps are completed.
By default it looks like releases which are serving their own static assets default to serving uncompressed css/js (I think this is a phoenix side thing)
The hot upgrade path described in the current distillery documentation works with static assets; I have not tested against sockets yet
mix releaseby itself does not make sense to use, and in fact will not produce a runnable executable.phoenix-live-reloadin developmentserver: truemust be set in theconfig/prod.exsfileMIX_ENV=prod mix release --env=prodbuilds a working release after the above steps are completed.