From d4581797e7a06cf4c89cf03def30e19726f26d11 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Mon, 15 Nov 2021 20:09:34 -0700 Subject: 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). --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.sh') 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 -- cgit v1.2.3