1 Star 0 Fork 531

peoplesofter/FlyFish

forked from 云智慧/FlyFish 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
startup.sh 704 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ethan.Du 提交于 2021-10-14 14:09 . Init: init project
#!/bin/bash
set -e
CUR_DIR=`pwd`
WEB_DIR="$CUR_DIR/www/solution-platform-web"
WEB_APP="$CUR_DIR/webapp"
STATIC_DIR="$CUR_DIR/www/static/solution_platform_web"
WORKSPACE_DIR="$CUR_DIR/www/static/dev_visual_component/dev_workspace"
green() {
echo -e "\033[;32m${1}\033[0m"
}
cd $WEB_DIR
green "前端依赖安装开始"
npm install >/dev/null
green "前端依赖安装完成"
green "前端项目构建开始"
npm run publish $WEB_APP "/static/solution_platform_web/" >/dev/null
cd $WEB_APP
rsync -a platform $STATIC_DIR
green "前端项目构建完成"
cd $CUR_DIR
green "后端依赖安装开始"
npm install >/dev/null
green "后端依赖安装完成"
cd $WORKSPACE_DIR
npm install > /dev/null
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/peoplesofter/fly-fish.git
[email protected]:peoplesofter/fly-fish.git
peoplesofter
fly-fish
FlyFish
main

搜索帮助