Keep Cursor project rules local-only.
Ignore .cursor/ and stop tracking rules so habits stay on this machine. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
---
|
||||
description: After each completed code change, commit, push origin/main, and deploy to zk.hyf2.cc
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Auto push & deploy
|
||||
|
||||
When a user-facing code change is **finished** (not mid-debug / not "先不要改代码"):
|
||||
|
||||
1. Commit only the relevant files (skip unrelated CRLF-only docs noise).
|
||||
2. `git push origin main` to `https://git.bz121.com/dekun/crypto_monitor.git`.
|
||||
3. Deploy to production `zk.hyf2.cc`:`cd /opt/crypto_monitor && git pull && bash deploy/pull_and_restart.sh`.
|
||||
4. Confirm PM2 processes are online; briefly report commit hash + deploy status.
|
||||
|
||||
Do **not** wait for the user to say "推送并部署" again unless they cancel this habit.
|
||||
|
||||
SSH: Prefer key auth; if BatchMode fails, use existing Paramiko root login path used in this project.
|
||||
Do not print or put passwords in user-facing replies.
|
||||
@@ -15,6 +15,10 @@
|
||||
**/.env.backup*
|
||||
**/.env.bak
|
||||
**/.env.local
|
||||
|
||||
# Cursor 本机规则/配置(勿提交;只留本地)
|
||||
.cursor/
|
||||
|
||||
manual_trading_hub/hub_settings.json
|
||||
manual_trading_hub/hub_backup_state.json
|
||||
manual_trading_hub/hub_fund_history.json
|
||||
|
||||
Reference in New Issue
Block a user