Notion OAuth 配置完成 + 启动脚本 + .env gitignore
This commit is contained in:
parent
aad156603c
commit
39655bb8c4
1
.gitignore
vendored
1
.gitignore
vendored
@ -51,3 +51,4 @@ server/sites/yaoming/index.html.bak.pre-d64
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
.env
|
||||
|
||||
8
notion/start.sh
Normal file
8
notion/start.sh
Normal 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"
|
||||
Loading…
x
Reference in New Issue
Block a user