Deployment
Publishing a ready product in a production environment where real users utilize it. For AI projects, this can be a website, API, or inference server.
Types of Deployment
| What to Deploy | Where |
|---|---|
| Static site (MkDocs) | Netlify, Cloudflare Pages, FTP |
| API service | VPS, cloud |
| Model | inference server |
Key Principles
- Repeatability — deploy with one command;
- Automation — CI/CD on git push;
- Rollback — ability to revert to a previous version;
- Checks — tests and
--strictbuild before publishing.
Simple Example
For our site: python deploy.py compiles MkDocs and uploads changed files via FTP.