Skip to content

Commit

Permalink
add emq_dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lsxredrain committed Aug 16, 2021
1 parent 9c859dc commit e13984f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/get-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ if [ -f 'EMQX_ENTERPRISE' ]; then
VERSION="${EMQX_EE_DASHBOARD_VERSION}"
DASHBOARD_PATH='lib-ee/emqx_dashboard/priv'
DASHBOARD_REPO='emqx-dashboard-web'
DIRECT_DOWNLOAD_URL="https://github.com/emqx/${DASHBOARD_REPO}/releases/download/${VERSION}/${RELEASE_ASSET_FILE}"
DIRECT_DOWNLOAD_URL="http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/emqx_dashboard.zip"
else
VERSION="${EMQX_CE_DASHBOARD_VERSION}"
DASHBOARD_PATH='lib-ce/emqx_dashboard/priv'
DASHBOARD_REPO='emqx-dashboard-frontend'
DIRECT_DOWNLOAD_URL="https://github.com/emqx/${DASHBOARD_REPO}/releases/download/${VERSION}/${RELEASE_ASSET_FILE}"
DIRECT_DOWNLOAD_URL="http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/emqx_dashboard.zip"
fi

case $(uname) in
Expand All @@ -39,5 +39,5 @@ curl -L --silent --show-error \

unzip -q "$RELEASE_ASSET_FILE" -d "$DASHBOARD_PATH"
rm -rf "$DASHBOARD_PATH/www"
mv "$DASHBOARD_PATH/dist" "$DASHBOARD_PATH/www"
mv "$DASHBOARD_PATH/www" "$DASHBOARD_PATH/www"
rm -f "$RELEASE_ASSET_FILE"

0 comments on commit e13984f

Please sign in to comment.