2023-03-21 12:37:20 +08:00
|
|
|
source .zshrc
|
2022-11-29 14:56:49 +08:00
|
|
|
rm -rf ismism/cli
|
2023-03-16 18:32:47 +08:00
|
|
|
rm -rf ismism/ui/index.html
|
2022-12-09 12:58:58 +08:00
|
|
|
rm -rf ismism/dbimport
|
2022-11-29 14:56:49 +08:00
|
|
|
|
2022-11-29 16:24:20 +08:00
|
|
|
sleep 1
|
2022-11-29 15:05:54 +08:00
|
|
|
unzip -o ismism.zip -d ismism
|
2022-11-29 14:56:49 +08:00
|
|
|
|
2022-12-05 14:59:02 +08:00
|
|
|
mkdir -p ismism-old
|
|
|
|
mv ismism.zip "ismism-old/ismism-$(date +%Y%m%d-%H%M).zip"
|
2023-03-21 12:37:20 +08:00
|
|
|
cd ismism
|
|
|
|
|
|
|
|
curl http://localhost:728/quit
|
|
|
|
nohup deno run --allow-net --allow-read cli/ser.js > log/ismism.log &
|
|
|
|
|
2023-03-21 13:09:54 +08:00
|
|
|
nginx -sreopen; tail -n 10 log/{access,error,ismism}.log
|
2023-03-21 12:37:20 +08:00
|
|
|
pgrep -lf nginx; pgrep -lf mongo; pgrep -lf "deno run"
|
2023-03-21 13:09:54 +08:00
|
|
|
|
|
|
|
echo "\nismism released\n"
|