never leave your laptop.
-
+
- Two commands.
- macOS or Linux. Python 3.10+.
-
- # 1 — clone
-gh repo clone StewAlexander-com/python-tutor
-cd python-tutor
-
-# 2 — set up & serve (any host step is opt-in y/N)
-./install.sh
-./run.sh # → http://localhost:8001/
-
-
- install.sh only touches the repo on its own. Installing
- Ollama, starting the daemon, pulling the model, or launching the app
- are opt-in y/N prompts — press Enter and nothing
- changes on your host.
+
Clone, install, run.
+
+ This page is the start page for the repo & software. Three short
+ commands and you're at http://localhost:8001/.
+ macOS or Linux. Python 3.10+.
-
+
+
+ -
+
+ 1
+
Clone the repo
+
+ HTTPS works without a GitHub login. gh repo clone works too if you use the GitHub CLI.
+
+ git clone https://github.com/StewAlexander-com/python-tutor.git
+cd python-tutor
+
+
+
+
+ -
+
+ 2
+
Install
+
+
+ Sets up a Python venv and dependencies. Any host-level step
+ (Ollama install, daemon start, model pull, app launch) is an
+ opt-in y/N prompt — press Enter and nothing
+ changes on your host.
+
+
+ ./install.sh
+
+
+
+
+ -
+
+ 3
+
Run & open in your browser
+
+ --open-browser pops the tab once /api/health is green.
+
+ ./run.sh --open-browser
+
+
+
+ Or just ./run.sh and open http://localhost:8001/ yourself.
+
+
+
+
+
+ Common variations
+
+ # trusted host: install Ollama, pull model, launch — no prompts
+./install.sh --yes
+
+# CI / air-gapped: never prompt, default everything to "no"
+./install.sh --noninteractive
+
+# Python-only setup (skip every Ollama probe)
+./install.sh --skip-ollama
+
+# pick a different model or port
+./install.sh --model llama3.1:8b
+./run.sh --port 8042
+
+
+
+
+
@@ -290,5 +347,46 @@ Two commands.
MIT-licensed. Frontend adapted from Python Power User.
+
+
Two commands.
-macOS or Linux. Python 3.10+.
-# 1 — clone
-gh repo clone StewAlexander-com/python-tutor
-cd python-tutor
-
-# 2 — set up & serve (any host step is opt-in y/N)
-./install.sh
-./run.sh # → http://localhost:8001/
-
- install.sh only touches the repo on its own. Installing
- Ollama, starting the daemon, pulling the model, or launching the app
- are opt-in y/N prompts — press Enter and nothing
- changes on your host.
+
Clone, install, run.
+
+ This page is the start page for the repo & software. Three short
+ commands and you're at http://localhost:8001/.
+ macOS or Linux. Python 3.10+.
-
+
-
+ + 1 ++
Clone the repo
+HTTPS works without a GitHub login.
+gh repo cloneworks too if you use the GitHub CLI.++
+ +git clone https://github.com/StewAlexander-com/python-tutor.git +cd python-tutor
+
+ -
+ + 2 ++
Install
++ Sets up a Python venv and dependencies. Any host-level step + (Ollama install, daemon start, model pull, app launch) is an + opt-in y/N prompt — press Enter and nothing + changes on your host. +
+++
+ +./install.sh
+
+ -
+ + 3 ++
Run & open in your browser
+
+--open-browserpops the tab once/api/healthis green.++
+ +./run.sh --open-browser+ Or just
+./run.shand openhttp://localhost:8001/yourself. +
+
Common variations
+# trusted host: install Ollama, pull model, launch — no prompts
+./install.sh --yes
+
+# CI / air-gapped: never prompt, default everything to "no"
+./install.sh --noninteractive
+
+# Python-only setup (skip every Ollama probe)
+./install.sh --skip-ollama
+
+# pick a different model or port
+./install.sh --model llama3.1:8b
+./run.sh --port 8042
+
+ Two commands.
MIT-licensed. Frontend adapted from Python Power User.