Skip to content

Commit 56ed4f2

Browse files
committed
update readme
1 parent 70790e2 commit 56ed4f2

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

README.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,19 @@ python -m venv .venv
1414
source .venv/bin/activate
1515
pip install -r requirements.txt
1616
python web_app.py
17+
18+
# One-click launch on macOS (Automator)
19+
# 1) Open Automator → New Document → Application
20+
# 2) Add “Run Shell Script” action (Shell: /bin/zsh)
21+
# 3) Paste this script and replace with your local path:
22+
# #!/bin/zsh
23+
# cd /path/to/lc_tracker
24+
# source .venv/bin/activate
25+
# python web_app.py &
26+
# sleep 1
27+
# open http://127.0.0.1:5123
28+
# 4) Save as “LeetCode tracker.app”
1729
```
18-
<!-- Optional: Automator app (macOS)
19-
1) Open Automator → New Document → Application
20-
2) Add “Run Shell Script” action (Shell: /bin/zsh)
21-
3) Paste this script:
22-
#!/bin/zsh
23-
cd /Users/yuyi/Documents/code/lc_tracker
24-
source .venv/bin/activate
25-
python web_app.py &
26-
sleep 1
27-
open http://127.0.0.1:5123
28-
4) Save as “LeetCode Notes.app”
29-
-->
30-
<!-- Optional macOS app wrapper:
31-
1) Install: pip install py2app
32-
2) Create setup.py with a basic py2app config
33-
3) Build: python setup.py py2app
34-
4) Launch the .app from dist/
35-
-->
3630
Then open `http://127.0.0.1:5123`.
3731

3832
## Data location

0 commit comments

Comments
 (0)