802 B
802 B
Required Files:
- target/release/server - Main application binary
- public/ - Complete directory with static assets, HTML files, CSS, images, and content
- config.toml - Application configuration (update for production)
- migrations/ - Database migration files (if using auth/content-db features)
- templates/ - Email templates (if email feature enabled)
Optional but Recommended:
- certs/ - TLS certificates (if TLS feature enabled)
- content/ - Source content files (if using content-static feature)
- Dockerfile - For containerized deployment
Production Configuration Updates Needed:
- Update config.toml session secret
- Change database URL to production database
- Set environment = "production"
- Configure proper CORS origins
- Enable TLS if using HTTPS