Notion OAuth 配置完成 + 启动脚本 + .env gitignore

This commit is contained in:
铸渊 2026-05-19 18:58:22 +08:00
parent aad156603c
commit 39655bb8c4
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -51,3 +51,4 @@ server/sites/yaoming/index.html.bak.pre-d64
__pycache__/
*.pyc
*.pyo
.env

8
notion/start.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
source /opt/guanghulab-repo/notion/.env
cd /opt/guanghulab-repo/notion
pkill -f notion-mcp-server.py 2>/dev/null
sleep 1
nohup python3 notion-mcp-server.py > /tmp/notion-mcp.log 2>&1 &
sleep 2
echo "Server started on :$NOTION_MCP_PORT"