inital commit 1

This commit is contained in:
mxdyeah committed 2026-07-08 19:25:27 +08:00
commit 90d8b97673
138 files changed
+23684

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
base=/OJ_FE
build_vendor_dll()
{
if [ ! -e "${base}/build/vendor-manifest.json" ]
then
npm run build:dll
fi
}
cd $base
npm install --registry=https://registry.npm.taobao.org && \
build_vendor_dll && \
npm run build
if [ $? -ne 0 ]; then
echo "Build error, please check node version and package.json"
exit 1
fi
exec nginx -c /OJ_FE/deploy/nginx.conf