diff --git a/README.md b/README.md index 0fd7102..3f51b8e 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,18 @@ OS: Ubuntu 18.04 / 22.04 (Recommendation) Arch: amd64 -Golang: go1.22.1 linux/amd64 - Database: 10.6.16-MariaDB, Redis server v=5.0.5 (or above) -node.js: v18.16.0 (or above) +- Golang: go1.24.2 linux/amd64 +- node.js: v20.18.0 (or above) ## Build Guide ```bash -git clone https://xxx@bitbucket.org/bluearcuscom/ems.git omc.git -cd omc.git -git pull -cd fe.ems.vue3 -npm install -npm run build -cd ../build.ems -./build.sh deb +# pwd +cd /root/omc.git +# ls +# be.ems build.ems fe.ems.vue3 +cp build.ems/pkg.sh . +bash pkg.sh --web --api -v 2.2508.1 ``` diff --git a/pkg.sh b/pkg.sh index 093a293..793e92c 100644 --- a/pkg.sh +++ b/pkg.sh @@ -62,6 +62,7 @@ if [ -n "$BuildWeb" ]; then npm install --registry https://registry.npmmirror.com npm run build + echo "===> build web directory: $WebDir" fi # =================== Api @@ -79,7 +80,8 @@ if [ -n "$BuildApi" ]; then cd $ApiDir/$procName echo "Make $procName ..." make - done + done + echo "===> build api directory: $ApiDir" fi # =================== ba deb