2021-08-26 20:01:32 +08:00
|
|
|
git pull
|
|
|
|
|
|
|
|
chmod 777 start.sh
|
|
|
|
|
2021-11-29 14:06:07 +08:00
|
|
|
pm2 delete kana
|
|
|
|
pm2 start node --name kana -- index
|
2022-01-30 17:28:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d "./data/" ];then
|
|
|
|
mkdir ./data
|
|
|
|
chmod 777 ./data
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d "./data/db/" ];then
|
|
|
|
mkdir ./data/db
|
|
|
|
chmod 777 ./data/db
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -d "./data/file/" ];then
|
|
|
|
mkdir ./data/file
|
|
|
|
chmod 777 ./data/file
|
|
|
|
fi
|