OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
16
.dev/remote-deploy/20_install.sh
Normal file
16
.dev/remote-deploy/20_install.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
cd /var/www/onebot
|
||||
|
||||
echo "=== 提交安装表单 ==="
|
||||
RESP=$(curl -s -i -X POST http://127.0.0.1:8081/install \
|
||||
-d "email=admin@onebot.local" \
|
||||
-d "firstname=Admin" \
|
||||
-d "lastname=OneBot" \
|
||||
-d "company=OneBot" \
|
||||
-d "install=Install")
|
||||
|
||||
echo "$RESP" | head -20
|
||||
|
||||
echo ""
|
||||
echo "=== 检查数据库表是否已建 ==="
|
||||
mysql -uonebot -p'OneBot_Db_7xKpQ9z' -h127.0.0.1 onebot -e "SHOW TABLES;" 2>/dev/null | head -50
|
||||
Reference in New Issue
Block a user