Foundations: Phase 2 — The Machine
Understand what a computer actually does
Set up your development environment, open a real codebase, run a server, query a database, read error messages and logs, use Git, and push to GitHub. Hands-on from start to finish.
Modules
What This Phase Is
The bridge from thinking to building. What you will learn and build in this phase.
Setting Up Your Workbench
Install Python, Git, and Cursor. Create a GitHub account. Verify everything works.
Your First Project — Opening and Understanding a Real Codebase
Clone the starter repo and walk through every file and folder. Understand project structure as a fundamental skill.
Setting Up the Project — Your First Real Commands
Virtual environments, installing dependencies, environment variables, secrets security, and running your first app.
When Things Go Wrong — Reading Error Messages
Anatomy of a traceback, the three most common first-time errors, and breaking your app on purpose to learn.
Reading Logs — Understanding What Your Application Is Telling You
Log levels, decoding request logs, and reading logs like a detective when things go wrong.
What Is a Server?
A server is just a program that waits for requests. Trace the full journey of a web request from URL to rendered page.
What Is a Database?
Why not just use files? Concurrent access, structured queries, data integrity, transactions, and SQL basics.
How Computers Talk to Each Other — Networks
Packets, latency, DNS, and why network understanding matters for debugging and architecture.
Development vs. Production — Two Worlds
Dev, staging, and production environments. Why they exist and why you never experiment in production.
Breaking Things on Purpose — The Best Way to Learn
Five guided destruction experiments: delete the database, change the port, break the API contract, send garbage, and read code you didn't write.
Reading Documentation — The Skill That Outlasts Every Tool
Where documentation lives, how to read it, and the ask-verify-try workflow that combines AI and official docs.
Version Control with Git — Tracking Your Changes
The three states of Git, staging, committing, viewing history, and restoring files. Git as your safety net.
Pushing to GitHub — Your Code in the Cloud
Create a remote repository, push your code, and establish the commit-push muscle memory.
Phase 2 Summary — What You Now Understand
A comprehensive recap of everything you built, broke, and learned. The vocabulary and skills you now own.