mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-11 17:38:46 +08:00
14 lines
444 B
Elixir
14 lines
444 B
Elixir
export RELEASE_NODE=livebook_app
|
|
export RELEASE_MODE=interactive
|
|
export MIX_ARCHIVES="${RELEASE_ROOT}/vendor/archives"
|
|
export MIX_REBAR3="${RELEASE_ROOT}/vendor/rebar3"
|
|
export WX_MACOS_NON_GUI_APP=1
|
|
export LIVEBOOK_SHUTDOWN_ENABLED=true
|
|
export LIVEBOOK_PORT=0
|
|
|
|
cookie_path="${RELEASE_ROOT}/releases/COOKIE"
|
|
if [ ! -f $cookie_path ]; then
|
|
cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 > $cookie_path
|
|
fi
|
|
|
|
cd $HOME
|