cd mgr2.0
git pull
if [ ! -d "/node_modules" ]; then
npm ci
fi
npm run build
path="/home/www/v2-mgr"
if [ ! -d $path ]; then
mkdir -p $path
fi
sudo cp -r dist/* $path
exit
cd mgr2.0
git pull
if [ ! -d "/node_modules" ]; then
npm ci
fi
npm run build
path="/home/www/v2-mgr"
if [ ! -d $path ]; then
mkdir -p $path
fi
sudo cp -r dist/* $path
exit