Skip to content

Commit d2f8b1c

Browse files
committed
Update Codespaces: fix script names and simplify instructions
1 parent 3a5c9a5 commit d2f8b1c

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
}
3838
},
3939

40-
"postCreateCommand": "echo '🧬 DNA Barcoding container ready! Run ./tutorial.sh to get started.'",
40+
"postCreateCommand": "echo '🧬 DNA Barcoding container ready! Run ./tutorial-cs.sh to get started.'",
4141

42-
"postStartCommand": "echo '\n=== GitHub Codespaces Quick Start ===\n1. Run: ./tutorial.sh (to learn with test data)\n2. Run: ./run-analysis.sh (to analyze class sequences)\n3. View HTML reports:\n - Right-click any .html file in results/ → Open with Live Server\n - Or run: python -m http.server 8000 -d results/\n - Then open forwarded port 8000 in browser\n4. Answer questions: python3 answer_assignment.py\n5. Submit: git add . && git commit -m \"Complete assignment\" && git push\n'",
42+
"postStartCommand": "echo '\n=== GitHub Codespaces Quick Start ===\n1. Run: ./tutorial-cs.sh\n2. Run: ./run-analysis-cs.sh\n3. View HTML reports: Right-click .html file → Open with Live Server\n4. Answer questions: python3 answer_assignment.py\n5. Submit: git add . && git commit -m \"Complete\" && git push\n\nTip: Type zsh for a colorful terminal!\n'",
4343

4444
"remoteUser": "root",
4545

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ See **[start_here.md](start_here.md)** for the complete beginner's guide.
7373

7474
**Once Codespaces opens**, run these commands in the terminal:
7575

76+
> **Tip: Nice Terminal** — Type `zsh` for a colorful terminal with the Dracula theme!
77+
78+
> **Viewing HTML Reports** — In the Explorer panel, right-click any `.html` file:
79+
> - **"Open with Live Server"** → Opens in a new browser tab (recommended)
80+
> - **"Download"** → Save to your computer and open locally
81+
>
82+
> All reports are standalone files with embedded CSS, so downloading works fine.
83+
7684
```bash
7785
# STEP 1: Learn with test data (5 min)
7886
./tutorial-cs.sh
@@ -101,6 +109,12 @@ python3 check_progress.py
101109

102110
**Requirements:** Docker Desktop must be running!
103111

112+
> **Tip: Nice Terminal** — Want to explore inside the container? Run:
113+
> ```bash
114+
> docker run --rm -it -v $(pwd):/workspace -w /workspace cosmelab/dna-barcoding-analysis:latest zsh
115+
> ```
116+
> This gives you a colorful Dracula-themed terminal with the analysis tools.
117+
104118
```bash
105119
# STEP 1: Learn with test data (5 min)
106120
./tutorial.sh

0 commit comments

Comments
 (0)