Skip to content

Deployment Checklist

  • ✅ index.html (56KB) - Single file app
  • ✅ Client-side rendering only
  • ✅ No build process required
  • ✅ CDN dependencies
  • ✅ Works offline
  • ✅ Tier 1: files.json (GitHub Pages)
  • ✅ Tier 2: /api/files/ (Server API)
  • ✅ Tier 3: Hardcoded (Fallback)
FileStatus
.github/workflows/build.yml✅
CNAME✅
build.py✅
content/files.json✅
Terminal window
python3 build.py && git push
FileStatus
Dockerfile✅
docker-compose.yml✅
deployment/docker/nginx.conf✅
Terminal window
docker-compose up -d
FileStatus
deployment/supervisor/snapcode.conf✅
server.py✅
Terminal window
sudo supervisorctl restart snapcode
EnvironmentWorksFile Loading
Direct Open✅Hardcoded
Static Server✅files.json
GitHub Pages✅files.json
Python Server✅API endpoint
Docker✅API endpoint
Supervisor✅API endpoint
  • Generate file lists (python3 build.py)
  • Test locally (python3 server.py)
  • Configure environment variables
  • Set up SSL certificate
  • Configure firewall
  • Set up monitoring
  • Test deployment
  • Monitor logs
  • Use HTTPS (SSL certificate)
  • Configure firewall (ufw)
  • Set proper file permissions
  • Use non-root user
  • Enable rate limiting
  • Regular updates