1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-05-05 18:10:03 +00:00

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).
This commit is contained in:
Ben Busby 2021-11-15 20:09:34 -07:00
parent 5904c7cce4
commit d4581797e7
No known key found for this signature in database
GPG key ID: 339B7B7EB5333D14
4 changed files with 22 additions and 4 deletions

View file

@ -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