From c7bc2555624bd03c95cf8a25fc606c26e9f80f2e Mon Sep 17 00:00:00 2001 From: Jason Harrelson Date: Fri, 16 Oct 2015 13:54:06 -0500 Subject: [PATCH] Add comment about necessary root path changes when doing an OTP deployment. See this issue for further information: https://github.com/bitwalker/exrm/issues/206. --- installer/templates/new/config/prod.exs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/installer/templates/new/config/prod.exs b/installer/templates/new/config/prod.exs index 48d2fa4dbc..a0bf3996ef 100644 --- a/installer/templates/new/config/prod.exs +++ b/installer/templates/new/config/prod.exs @@ -55,6 +55,10 @@ config :logger, level: :info # # config :<%= application_name %>, <%= application_module %>.Endpoint, server: true # +# You will also need to set the application root to `.` in order for the new static +# assets to be served after a hot upgrade. +# +# config :<%= application_name %>, <%= application_module %>.Endpoint, root: "." # Finally import the config/prod.secret.exs # which should be versioned separately.