Skip to content

General notes for getting up and running with distillery #1

Description

@supernullset
  1. 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
  2. To produce a release which functions, server: true must be set in the config/prod.exs file
  3. 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)
  4. The hot upgrade path described in the current distillery documentation works with static assets; I have not tested against sockets yet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions