mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 02:48:42 +00:00

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).
6 lines
138 B
Bash
Executable file
6 lines
138 B
Bash
Executable file
#!/bin/sh
|
|
|
|
SCRIPT_DIR="$(builtin cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
|
|
|
|
cd "$SCRIPT_DIR"
|
|
FARSIDE_NO_ROUTER=1 mix run update.exs
|