summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBen Busby <noreply+git@benbusby.com>2021-11-15 20:09:34 -0700
committerBen Busby <noreply+git@benbusby.com>2021-11-15 20:09:34 -0700
commitd4581797e7a06cf4c89cf03def30e19726f26d11 (patch)
treea5bac6c35011d8f384bbb361c2aa7565629f057d /update.sh
parent5904c7cce4d42cf29d775dc39e51183a9be2d82f (diff)
downloadfarside-d4581797e7a06cf4c89cf03def30e19726f26d11.tar.gz
Allow bypassing app router with `FARSIDE_NO_ROUTER`
Setting the aforementioned env var skips creation of the app router, which is useful for running update.exs when the main app is already running (otherwise there's a port conflict).
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 1ab0d52..ff14797 100755
--- a/update.sh
+++ b/update.sh
@@ -3,4 +3,4 @@
SCRIPT_DIR="$(builtin cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
cd "$SCRIPT_DIR"
-mix run update.exs
+FARSIDE_NO_ROUTER=1 mix run update.exs