# ๐ Quick Start - Documentation Website
**Get your documentation website running in under 2 minutes!**
---
## โก Super Quick Start (1 minute)
```bash
cd docs
npm run setup
npm run dev
```
**โ Open https://localhost:5173 to see your website!**
---
## ๐ Two Options for Setup
### **Option A: npm Scripts (Recommended)**
```bash
cd docs
# Setup (installs dependencies)
npm run setup
# Start development server
npm run dev
# Build for production
npm run build
# Clean up
npm run clean
```
### **Option B: Bash Script (Advanced)**
```bash
cd docs
# First-time setup
./setup-website.sh setup
# Start development server
./setup-website.sh dev
# Build for production
./setup-website.sh build
# Deploy guidance
./setup-website.sh deploy
# Clean up
./setup-website.sh clean
# Help
./setup-website.sh help
```
---
## ๐ฏ What Each Command Does
| Command | npm Version | Script Version | Purpose |
|---------|-------------|----------------|---------|
| **Setup** | `npm run setup` | `./setup-website.sh setup` | Install dependencies & check prerequisites |
| **Development** | `npm run dev` | `./setup-website.sh dev` | Start development server with hot reload |
| **Build** | `npm run build` | `./setup-website.sh build` | Create production build |
| **Deploy** | `npm run deploy` | `./setup-website.sh deploy` | Build + deployment guidance |
| **Clean** | `npm run clean` | `./setup-website.sh clean` | Remove build artifacts |
---
## ๐ Deployment Quick Guide
### **GitHub Pages (Automatic)**
1. **Push to main branch** - the website deploys automatically
2. **Access at**: `https://username.github.io/mcp-adr-analysis-server/`
### **Manual Deploy**
```bash
# Build the site
npm run build
# Deploy to any hosting service
# Upload contents of .vitepress/dist/ folder
```
---
## ๐จ Common Customizations
### **Change Site Colors**
Edit `./.vitepress/config.js`:
```js
themeConfig: {
// Add your branding here
}
```
### **Add Your Logo**
1. Put logo in `./public/logo.svg`
2. It's automatically used in the config
### **Custom Domain**
Update `base` in `config.js`:
```js
base: '/', // For custom domain
// base: '/mcp-adr-analysis-server/', // For GitHub Pages
```
---
## ๐ Troubleshooting
### **Script Permission Error**
```bash
chmod +x ./setup-website.sh
```
### **Node.js Version Error**
Ensure Node.js โฅ18.0.0:
```bash
node --version # Should be v18.0.0+
```
### **Port Already in Use**
Kill existing process:
```bash
# Find process using port 5173
lsof -ti:5173 | xargs kill -9
```
### **Build Fails**
Clear cache and reinstall:
```bash
npm run clean
rm -rf node_modules package-lock.json
npm install
```
---
## ๐ What You Get
โ **Professional Documentation Website**
โ **Instant Search** across all content
โ **Mobile-Responsive** design
โ **Auto-Deploy** via GitHub Actions
โ **Lightning Fast** loading
โ **SEO Optimized** for discoverability
---
**Ready to launch?** โ `cd docs && npm run setup && npm run dev`
**Need help?** โ Check [WEBSITE_SETUP.md](WEBSITE_SETUP.md) for detailed instructions
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tosin2013/mcp-adr-analysis-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server