Skip to content

Commit

Permalink
version 0.0.1 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
liuqing6767 committed Oct 19, 2021
1 parent 9958a71 commit 9977b14
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
18 changes: 14 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,19 @@ if [ $? -ne 0 ]; then
fi
echo "npm build success"

mv noahv output
rm output/static/*/*.gz
cp version.txt output/
echo "pack start"
rm noahv/static/*/*.gz
cp version.txt noahv/
cp -r docs noahv/
cp -r README.md noahv/
mkdir output
mv noahv "bfe_dashboard_${version}"
mv "bfe_dashboard_${version}" output/
cd output
tar -czvf "bfe_dashboard_${version}.tar.gz" "bfe_dashboard_${version}"
shasum -a 256 "bfe_dashboard_${version}.tar.gz" > "bfe_dashboard_${version}_checksums.txt"
rm -rf "bfe_dashboard_${version}"
echo "pack success"

echo "build success"
exit 0;
exit 0;
4 changes: 2 additions & 2 deletions docs/zh-cn/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

产出的获取有多种方式
- 方式一:通过源码编译: clone [bfenetwork/dashboard](https://github.com/bfenetworks/dashboard) 仓库后进入项目根目录,执行 `sh build.sh`, output 文件夹就是静态文件
- 方式二:直接进入 [dashboard/release](https://github.com/bfenetworks/dashboard/releases) 页面下载相应的编译产出
- 方式二:直接进入 [dashboard/releases](https://github.com/bfenetworks/dashboard/releases) 页面下载相应的编译产出


若想进行二次开发或者提交PR,请参考 [项目开发指南](./develop.md)
Expand All @@ -13,4 +13,4 @@
BFE Dashboard 依赖 [BFE API Server](https://github.com/bfenetworks/api-server)。部署Dashboard 之前应该完成 API Server的部署,详见[API Server 部署](https://github.com/bfenetworks/api-server/docs/zh_cn/deploy.md)


生成环境具体部署步骤为:将编译产出放入 API Server的静态文件夹中。
生产环境具体部署步骤为:将编译产出放入 API Server的静态文件夹中。

0 comments on commit 9977b14

Please sign in to comment.