Deploy the microsite (GitHub + Cloudflare Pages)
The repository reads well on GitHub as it is (README.md, course/, lab/, prompts/, slides/). build_site.py copies those folders into build/docs and builds a static MkDocs Material site into site/. Every git push to the main branch redeploys it.
1. Preview locally (optional)
pip install -r requirements.txt
python build_site.py && python -m http.server -d site 8000 # then open http://127.0.0.1:8000
2. Push to GitHub
git init
git add .
git commit -m "AI fundamentals course"
git branch -M main
git remote add origin https://github.com/<you>/<repo>.git
git push -u origin main
3. Connect Cloudflare Pages
- In the Cloudflare dashboard open Workers & Pages and choose to create a Pages project, then Connect to Git. (Menu labels change from time to time.)
- Select the GitHub repository and the
mainbranch. - Build settings:
| Setting | Value |
|---|---|
| Framework preset | None |
| Build command | pip install -r requirements.txt && python build_site.py |
| Build output directory | site |
| Environment variable | PYTHON_VERSION = 3.12 |
- Save and deploy. The site appears at
https://<project>.pages.dev. - Optional: add a custom domain under the project's settings.
4. Before you publish
- Replace
[your-site].pages.devin the slides and the trainer guide with your real address, and add a QR code to slide 63. - Decide whether the Trainer kit (slide prompts) should be public. To keep it private, move the
slides/folder andcourse/trainer-guide.mdto a separate private repo, remove them fromnavinmkdocs.yml, and from thefolderlist inbuild_site.py. - Choose a licence for the materials (for example Creative Commons BY 4.0) and add it to the repository.
- Re-check the claims that change over time: the Claude free-plan features, the AI-901 outline and the skills specification link.