From 9202d59ce98479c3f16c81e52046896ac7220bb6 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 10 Feb 2020 22:27:09 -0500 Subject: [PATCH] fix #31, excl. elasticsearch config --- docker/app/run-development | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/app/run-development b/docker/app/run-development index 15510792..c7f81962 100755 --- a/docker/app/run-development +++ b/docker/app/run-development @@ -1,7 +1,11 @@ #!/bin/bash # Always install assets -(cd /srv/philomena/assets && npm install) +( +cd /srv/philomena/assets +# workaround for #31 +npm install || (chown -R root:root node_modules && npm install) +) # Always install mix dependencies (cd /srv/philomena && mix deps.get) @@ -21,4 +25,4 @@ echo createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev # Run the application -mix phx.server \ No newline at end of file +mix phx.server