浏览代码

update docs

tags/v1.4.30
Jonathan Cobb 3 年前
父节点
当前提交
3b05e35b47
共有 2 个文件被更改,包括 12 次插入3 次删除
  1. +10
    -2
      bin/run.sh
  2. +2
    -1
      docs/launch-node-from-local.md

+ 10
- 2
bin/run.sh 查看文件

@@ -135,11 +135,19 @@ if [[ ! -z "${BUBBLE_API}" && -d "${BUBBLE_AUTH}" ]] ; then
PASS_FILE="${AUTH_DIR}/pass"

if [[ ! -z "${BUBBLE_USER}" && -f "${AUTH_DIR}/${BUBBLE_USER}" ]] ; then
echo 1>&2 "Using cached password for user ${BUBBLE_USER} from ${AUTH_DIR}/${BUBBLE_USER} (set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior)"
if [[ -z "${BUBBLE_QUIET_AUTH_CACHE}" || "${BUBBLE_QUIET_AUTH_CACHE}" != "true" ]] ; then
echo 1>&2 "Using cached password for user ${BUBBLE_USER} from ${AUTH_DIR}/${BUBBLE_USER}
Set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior
Set BUBBLE_QUIET_AUTH_CACHE=true to hide this warning"
fi
BUBBLE_PASS="$(cat "${AUTH_DIR}/${BUBBLE_USER}" | tr -d '[:space:]')"

elif [[ -f ${USER_FILE} && -f ${PASS_FILE} ]] ; then
echo 1>&2 "Using cached user/pass from ${USER_FILE} and ${PASS_FILE} (set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior)"
if [[ -z "${BUBBLE_QUIET_AUTH_CACHE}" || "${BUBBLE_QUIET_AUTH_CACHE}" != "true" ]] ; then
echo 1>&2 "Using cached user/pass from ${USER_FILE} and ${PASS_FILE}
Set env var BUBBLE_DISABLE_AUTH_CACHE=true to disable this behavior
Set BUBBLE_QUIET_AUTH_CACHE=true to hide this warning"
fi
BUBBLE_USER="$(cat "${USER_FILE}" | tr -d '[:space:]')"
BUBBLE_PASS="$(cat "${PASS_FILE}" | tr -d '[:space:]')"
fi


+ 2
- 1
docs/launch-node-from-local.md 查看文件

@@ -1,6 +1,7 @@
Launching a Bubble from a Local Launcher
========================================
These instructions assume you have already set up a [Local Launcher](local-launcher.md).
These instructions assume you have already set up a [Local Launcher](local-launcher.md)
or are running the [Bubble Docker Launcher](docker-launcher.md).

## Login
Login to your Local Launcher using the root admin account that was created during activation.


正在加载...
取消
保存