Deployment guides
Step-by-step deployment for each platform
Quick guides for deploying AudioGuideKit. Each platform auto-detects Vite projects.
Vercel (recommended)
- Push your project to GitHub
- Go to vercel.com → Sign in with GitHub
- Click "Add New..." → "Project" → Import your repository
- Click "Deploy" (settings auto-detected)
Your tour is live at your-project.vercel.app.
Custom domain: Project Settings → Domains → Add your domain and follow DNS instructions.
Vercel documentationNetlify
- Go to netlify.com → Sign in with GitHub
- Click "Add new site" → "Import an existing project"
- Select your repository
- Build command:
npm run build, Publish directory:dist - Click "Deploy site"
Custom domain: Site settings → Domain management → Add custom domain.
Netlify documentationCloudflare Pages
- Go to pages.cloudflare.com
- Connect to Git → Select repository
- Framework preset: Vite, Build output:
dist - Save and Deploy
Benefits: Unlimited bandwidth, fast global edge network.
Cloudflare Pages documentationGitHub Pages
Requires a GitHub Actions workflow. Create .github/workflows/deploy.yml:
name: Deploy to GitHub Pages
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./distThen enable in Repository Settings → Pages → Source: "GitHub Actions".
If deploying to username.github.io/repo-name/, add base: '/repo-name/' to your vite.config.ts.
Firebase Hosting
npm install -g firebase-tools
firebase login
firebase init hosting # public: dist, SPA: yes
bun run build
firebase deployAWS S3 + CloudFront
For full control over infrastructure:
bun run build
aws s3 sync dist/ s3://your-bucket --delete
aws cloudfront create-invalidation --distribution-id YOUR_ID --paths "/*"Requires S3 static website hosting enabled and CloudFront for HTTPS.
AWS S3 documentationImportant notes
HTTPS required: PWA features (Service Worker, offline mode) only work over HTTPS. All platforms above provide free SSL.
SPA routing: AudioGuideKit uses client-side routing. Most platforms handle this automatically. For manual setups, redirect all paths to index.html.
Updating your tour: With GitHub connected, just push changes—platforms auto-deploy. For manual deploys, run bun run build and upload the dist/ folder.