diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md new file mode 100644 index 0000000..d7d2bd2 --- /dev/null +++ b/docs/DEPLOYMENT.md @@ -0,0 +1,178 @@ +# Deployment Guide + +**Once you've trained a model with nanochat, you'll want to deploy it.** + +--- + +## 🚀 Quick Start (Desktop) + +For local testing and development, you can use the built-in web UI: + +```bash +# Start the chat web server +python -m scripts.chat_web +``` + +Then open your browser to the URL shown (usually `http://localhost:8000`). + +--- + +## 🌐 Desktop / Server Deployment + +For production deployment on servers or desktop machines: + +### Option 1: Ollama (Recommended) + +```bash +# Create Ollama Modelfile +cat > Modelfile <